[CLOUDINARY-35] Delete Asset only works on every second click Created: 22/May/23  Updated: 19/Sep/23  Resolved: 19/Sep/23

Status: Closed
Project: Cloudinary DAM Connector
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.14

Type: Improvement Priority: Medium
Reporter: Tobias Kerschbaum Assignee: Riste Drangovski
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Work Started:

 Description   

Delete Asset only works on every second click. For example, the asset is deleted in Cloudinary on the first click, but it is still displayed in the Assets App and only deleted in the Assets App when you delete it again. Even if you close the Assets App and open it again, the asset is still displayed.When uploading "normal" assets, exceptions occur. It can then be uploaded, but the user sees the ugly error message and is certainly irritated.

2023-03-20 14:52:59,402 ERROR nfo.magnolia.admincentral.AdmincentralErrorHandler: Admincentral has encountered an unhandled exception.
java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "allowedMimeTypePattern" is null (image to reproduce is attached)

Generated at Mon Feb 12 00:00:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.