CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11555] Setting default page to be its own parent causes logic loop

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sun Sep 03 10:48:24 -0400 2017

Assigned To:
Version: 2.2.3.1
CMSMS Version: 2.2.3.1
Severity: Trivial
Resolution: Fixed
State: Open
Summary:
Setting default page to be its own parent causes logic loop
Detailed Description:
To recreate:
1. in Content Manager, open the page specified as default
2. go to the Navigation tab, and set the parent to be the page you're currently
editing
3. submit

Symptoms:
-Site will be down on the frontend with the error "Problem with internal content
organization... could not get a parent node for content with id"
-In the backend, Content Manager will display an error instead of listing the
pages

Workaround:
1. In the database, find the content table then in the row for the affected
page, change parent_id to -1
2. clear cache
(may then need to reorder content)

Suggested fix:
hide the current page from the list of options when choosing a parent


History

Comments
avatar
Date: 2017-09-08 12:53
Posted By: Robert Campbell (calguy1000)

fixed in svn for a 2.2.4 if any
      
Updates

Updated: 2017-09-08 12:53
resolution_id: => 7