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

Editing app definition via resources causes detail subapp to fail (linkField)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce: 

      1. On a local instance edit contacts-v8 app definition. http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:resources:edit;/contacts/apps/contacts-v8.yaml:edit
      2. Make any change to the file. Adding a new line after datasource definition is enough. 
      3. Try to edit any contact, subapp does not open.

       

      [rest of stack trace ommitted — open stacktrace attachment for more]
      
      Caused by: java.lang.IllegalArgumentException: Could not find a chooser dialog definition at LinkField definition linkField at info.magnolia.ui.field.factory.LinkFieldFactory.<init>(LinkFieldFactory.java:67) ... 171 more
      

      Note: This seems irreversible. Removing the edit does not help, nor does deletion of the JCR override (delete the edited file, publish deletion, reverts to previous config, the app still crashes)

      I believe this is not related to the contacts app itself, but I failed to reproduce this with the DAM app second time. Even though I am pretty sure in the morning I somehow had that happen also in the new DAM app. If this turns out to be only contacts related, the ticket will be moved.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD