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

Error when deleting a page

    XMLWordPrintable

Details

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                sang.ngo Sang Ngo Huu
                mdamborenea Monica Damborenea
                Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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

                      Jenkins

                        No builds found.