CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#5337] ContentEditPost event fires too early upon creation of a new page

avatar
Created By: Henning Schaefer (hschaefer)
Date Submitted: Tue Aug 24 06:56:42 -0400 2010

Assigned To: Tapio Löytty (Stikki)
Version: 1.8.2
CMSMS Version: None
Severity: Minor
Resolution: Accepted
State: Open
Summary:
ContentEditPost event fires too early upon creation of a new page
Detailed Description:
The "ContentEditPost" event seems to fire before the new page is included into
the hierarchy manager. When you do

HierarchyManager::getNodeById();

on the newly added page's ID within a handler for this event, a non-object is
returned, making it impossible to, for example, retrieve the URL of the newly
added page.


History

Comments
avatar
Date: 2010-12-17 23:03
Posted By: Robert Campbell (calguy1000)

Yep, I see the issue... wether it's a bug or not is up for debate.
      
avatar
Date: 2011-01-07 14:57
Posted By: Ronny Krijt (ronnyk)

To be investigated post-1.9.3, as it might require schema-changes.
      
Updates

Updated: 2012-09-07 14:53
cmsms_version_id: => -1
assigned_to_id: 100 => 11306

Updated: 2010-12-17 23:03
resolution_id: => 6