Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Bug: manage pages crashes for non-admin user with any page named 'children'

#1260

Due to a bug in the jstree jquery plugin, if there is any page with a property value of 'children' (sef name?) whenever a non-admin user attempts to Manage All Pages, the tree will NOT build in a bootstrap3/newui theme. The problem in jstree v3.0.9 and earlier is the value 'children' tricks jstree into thinking it's receiving the page data in an alternate format.

This bug does NOT occur in most cases...again, ALL of the follow MUST exist to reproduce this bug

  • bootstrap3 or newui based theme
  • non-admin user
  • any page using a data value of 'children'
  • attempting to Manage All Pages

Reported by dleffler · January 21st, 2015 @ 01:05 AM

State: resolved
Milestone: none
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved

    (from [9cd51b183b8d070a08d60f9222119dd8ba8c50c8]) Fix manage all pages tree display crashing for non-admin users when pages are hidden;we now style as 'hidden' instead of removing from array [#1260 state:resolved] https://github.com/exponentcms/exponent-cms/commit/9cd51b183b8d070a...

    January 22nd, 2015 @ 02:23 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.