MGNLUI-5840, asset references have been stored without the prefix jcr:. When opening their corresponding dialog, which is declared with the old syntax, these references are throwing an error like the following:
Removing targetWorkspace property from the definition makes it work ok but, unfortunately, preview is not shown as reported in
Steps to reproduce (Magnolia 6.2.3)
- Create a component whose dialog contain following field:
- Store any link by using the dialog (Note the preview is shown in the dialog) and remove the jcr: prefix from the reference through JCR app (Forcing
- Open the component dialog again and see the error.
- Remove targetWorkspace property from the definition and open the component dialog again. It works ok and no error is thrown now but preview is not shown in the dialog
There should be compatibility for assets that were stored without jcr: prefix.