[CLOUDINARY-48] Cloudinary widget doesn't work anymore with latest Javascript UI module Created: 04/Dec/23  Updated: 12/Jan/24  Resolved: 11/Dec/23

Status: Closed
Project: Cloudinary DAM Connector
Component/s: None
Affects Version/s: 1.1.15, 1.1.16
Fix Version/s: 1.1.17

Type: Bug Priority: Major
Reporter: Raphael Falvo Assignee: Raphael Falvo
Resolution: Fixed Votes: 0
Labels: Integration-Testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Team: Services
Work Started:
Approved:
Yes

 Description   

When trying to use cloudinary widget together with latest JavaScript UI module version 2.0.4, an error pops up with the following details in the log:

Caused by: java.lang.NoSuchMethodError: 'void info.magnolia.ui.javascript.field.JavascriptFieldFactory.<init>(info.magnolia.ui.javascript.field.JavascriptFieldDefinition, info.magnolia.objectfactory.ComponentProvider, info.magnolia.init.MagnoliaInitPaths, info.magnolia.ui.editor.LocaleContext, info.magnolia.ui.ValueContext, info.magnolia.ui.javascript.form.FormViewWithChangeListener)'
at info.magnolia.external.dam.cloudinary.widget.field.CloudinaryWidgetFieldFactory.<init>(CloudinaryWidgetFieldFactory.java:57) ~[cloudinary-media-widget-integration-1.1.15.jar:?]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]

 

It seems that the JavascriptFieldFactory constructor in Javascript UI module has now more arguments than before.


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