[JSFIELD-22] FormPresenterWithChangeListener not found Created: 20/Dec/22  Updated: 22/Dec/22  Resolved: 22/Dec/22

Status: Closed
Project: Java Script UI (App and Dialog Fields)
Component/s: None
Affects Version/s: 1.2, 1.2.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alberto Ramirez Assignee: Riste Drangovski
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Steps to reproduce

 

  1. Library magnolia-ui-framework-javascript-x.x.x is replace with the newest version: 1,2.1, or 1.2
  2. Trying to open any content app with a javascript widget.
  3. We didn't try to replace the full bundle wit a newer version, only the library; Could be that class has been relocated to another library?

 

Expected results

The form is shown as usual

Actual results

The following error shows up: java.lang.ClassNotFoundException: info.magnolia.ui.javascript.form.FormPresenterWithChangeListener

Workaround

Development notes



 Comments   
Comment by Riste Drangovski [ 20/Dec/22 ]

Hi Alberto,

Class info.magnolia.ui.javascript.form.FormPresenterWithChangeListener does not exits in new major versions 1.2, 1.2.1
This class is replaced with info.magnolia.ui.javascript.form.FormViewWithChangeListener.
It looks like you are using some module that is extending JavascriptField component and is using the old public API. If this is the case you need to update this module to latest version (maybe frontify or cloudinary magnolia modules).
Or if you have created your own javascript fields by extending magnolia's javascript field then you have to update your codebase to match new javascritp field public api (update constructors signatures).

Please let us know if you need more help form our side.

Regards,
Riste

Comment by Alberto Ramirez [ 20/Dec/22 ]

Hi, Riste

You're right, we're using frontify-dam-connector-1.0.1, so I suppose We have to update it to a compatible version for that module or wait for it.

Thanks, you can close this issue.

Generated at Mon Feb 12 02:16:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.