CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11507] Removing the page set as "Default Parent Page" under User Preferences breaks Content Manager

avatar
Created By: S Tom (stom)
Date Submitted: Fri Jul 21 12:48:32 -0400 2017

Assigned To:
Version: 2.2.2
CMSMS Version: 2.2.2
Severity: Major
Resolution: Fixed
State: Open
Summary:
Removing the page set as "Default Parent Page" under User Preferences breaks Content Manager
Detailed Description:
Removing the page set as "Default Parent Page" under User Preferences breaks
Content Manager

To recreate:

Content -> Content Manager
Make blank page, Submit.

My Preferences -> My Account -> User Preferences
Set "Default Parent Page" to the page you created page.
Submit changes.

Content -> Content Manager
Delete the page you set as default/created

Add new content
Note under "Navigation" tab dropdown for "Parent" property is missing.
Make blank page, Submit

Error occurs "Problem with internal content organisation... could not get a
parent node for content with id x"

To fix, use PHPMyAdmin to set value of "default_parent" to -1 in DB table
_userprefs for the user account affected and remove the page from table
_content. Clear cache and update hierarchy in System Maintenance.


History

Comments
avatar
Date: 2017-07-21 15:24
Posted By: Robert Campbell (calguy1000)

so that's where that bug comes from.

We've seen it like 3 times and didn't know how to reproduce it.
      
avatar
Date: 2017-07-26 09:54
Posted By: Robert Campbell (calguy1000)

Fixed in svn for CMSMS 2.2.3
      
Updates

Updated: 2017-07-26 09:54
resolution_id: 6 => 7

Updated: 2017-07-21 15:24
resolution_id: 5 => 6

Updated: 2017-07-21 15:24
severity_id: 4 => 2

Updated: 2017-07-21 12:54
description: Removing the page set as "Default Parent Page" under User Preferences breaks Content Manager To recreate: Content -> Content Manager Make blank page, Submit. My Preferences -> My Account -> User Preferences Set "Default Parent Page" to the page => Removing the page set as "Default Parent Page" under User Preferences breaks Content Manager To recreate: Content -> Content Manager Make blank page, Submit. My Preferences -> My Account -> User Preferences Set "Default Parent Page" to the page
resolution_id: => 5