[MGNLCAMPU-35] Image provider fails for DAM assets Created: 12/Nov/15  Updated: 23/Aug/22

Status: Open
Project: Campaign Publisher
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Antti Hietala Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Campaign Publisher 1.0 or 1.1-SNAPSHOT, Magnolia 5.4.3


Attachments: PNG File error.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Campaign Publ. cleanup
Team: AuthorX

 Description   

Campaign Publisher fails to render the preview image of a DAM asset. The image provider throws an error when you select the asset:

MethodException: Invocation of method valueChange in info.magnolia.ui.workbench.list.ListViewImpl$2 failed.
caused by NoSuchMethodError: info.magnolia.campaignpublisher.ui.imageprovider.CampaignImageProvider.getGeneratorImagePath(Ljava/lang/String;Ljavax/jcr/Node;Ljava/lang/String;)Ljava/lang/String;

To reproduce:

  1. Create a campaign.
  2. Go to the Assets app and add an image to the campaign.
  3. Go back to Campaign Publisher and select the asset.

Tested both Campaign Publisher 1.0 and 1.1-SNAPSHOT.


Generated at Sun Feb 11 23:56:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.