Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

CMSWorkflow and LeftandMain extensions


Reply


847 Views

Avatar
Mo

Community Member, 510 Posts

6 March 2010 at 5:28am

Hi All,

I am having an issue with CMSWorkflow, I believe it may be a bug, but wanted to know if anyone has had a similar issue.

The issue occurs when I extend LeftAndMain and add a new tab to the CMS. If I have a vanilla Silverstripe install, then the new tab renders fine, and I get my custom tree to the left, clicking those items generates the correct editform and everything is super.

If however I then add CMSWorkflow (I have tried this with rc1, rc2 and trunk), the page renders fine, but when I click on an item in the left tree, rather than rendering the editform for my custom dataobject I instead get an editform for a page in sitetree which had the same ID number as my dataobject (I have attached a screenshot to help demonstrate this).

I have poked around in firebug, and managed to identify that when I click on one of the links in the left pane, Silverstripe is calling:

http://servername.com/admin/getitem?ID=1&ajax=1

Rather than:

http://servername.com/cello_main/admin/menus/show/1?ajax=1&ajax=1

Anyone know why this might be happening? I am using 2.4beta, but have also seen it happening in 2.3.6.

Cheers,

Mo