Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-333

Error when deleting a page

XMLWordPrintable

      Deleting a page throws an error in the logs. The page gets deleted successfully but an error is thrown.

      Steps to reproduce

      1. Open the pages app

      2. Select a page and click on "Delete page"

      3. Check the logs, an error is thrown, find the full error attached.

      2020-08-27 16:00:17,900 ERROR signment.MetaDataBasedTemplateDefinitionAssignment: Deleted content template is not correctly registered. info.magnolia.registry.RegistrationException: adminInterface:mgnlDeleted
      ...
      

       

      Expected results

       No error should be thrown

      Actual results

      An error is thrown in MetaDataBasedTemplateDefinitionAssignment

      Workaround

      Create light module "admincentral" with a template called "deleted".

      Development notes

      https://git.magnolia-cms.com/projects/PLATFORM/repos/main.pub/browse/magnolia-rendering/src/main/java/info/magnolia/rendering/template/assignment/MetaDataBasedTemplateDefinitionAssignment.java#98

        Acceptance criteria

              sang.ngo Sang Ngo Huu
              mdamborenea Monica Damborenea
              Votes:
              1 Vote for this issue
              Watchers:
              7 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 - 3.5d
                    3.5d