Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-61

Reference fields to CT-retrofitted app does not work after restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • None
    • None

      In order for a CT to have a reference to an existing App, such as Assets, it is necessary to "retrofit" that app - that is, to create a CT for that existing app, and to decorate that existing app with a new class and a "contentType" field.

      After that has been done, the YAML file for the new CT must be "touched". After this, the reference fields are displayed correctly in the CT-generated editor subapp.

      But, after a restart of Magnolia, the reference fields are no longer displayed correctly when the editor is opened. The log displays:

      ERROR agnolia.ui.form.field.factory.AbstractFieldFactory: Unknown configured type Asset
      

      If the CT file is then "touched" again, the editor works as expected - the references work again.

       

        Acceptance criteria

              czimmermann Christopher Zimmermann
              czimmermann Christopher Zimmermann
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1h
                    1h