Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » CMS Workflow - Error with Site Content Author

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 844 Views
  • rainerh
    Community Member
    23 Posts

    CMS Workflow - Error with Site Content Author Link to this post

    Hello everybody,

    I'm using two-step workflow mode. When I log in as a user which as a member of "Site Content Authors" and go to the SiteContent in the admin section I receive a "Trying to get property of non-object" error which occurs in SiteTreeCMSTwoStepWorkflow.php (Line 109):

    if(!$this->owner->CanPublishType || $this->owner->CanPublishType == 'Anyone') return true;

    After some little debugging (or taking a closer look at the error message) it turned out that that object does not have a property owner. Since I imported lots of pages it could be the case that the owner attribute was not set properly. Which field in the database is used for storing it? In table SiteTree I haven't found an OwnerID or something similiar.

    Thanks in advance,

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.