Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-8802

ConfiguredFormDefinition#implementationClass is not public anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0
    • 6.3.0
    • None
    • None
    • Yes

      Steps to reproduce

       # Create a dialog with the follow definition:

      myComponent.yaml
        form: 
          implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener     
          properties:
            aJavascripField:
              $type: javascriptField
              fieldScript: /ui-framework-javascript-dev-samples/webresources/debugField.html
      

      Expected results

      The javascript field is rendered.

      Actual results

      The implementation class of the form is not picked up as its visibility was reduced to protected.

       

      Workaround

      Provide a custom java definition, like this:

      form:
        class: info.magnolia.ui.javascript.form.FormWithChangeListenerDefinition
        properties:
           aJavascripField:
             $type: javascriptField
             fieldScript: /ui-framework-javascript-dev-samples/webresources/debugField.html
      

      Development notes

      The method might be still public but deprecated so we don't break installation upgrading from 6.2. to 6.3.

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: