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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Author and Publisher not being saved


Reply

6 Posts   1292 Views

Avatar
heidgert

27 November 2009 at 11:47am Community Member, 16 Posts

Hi,

I have come across something that I think must be a bug, or else I'm missing something vital.

On a fresh 2.3.3 installation with the BlackCandy theme, I log into the CMS, make some changes to a page and hit Save and Publish.

If I now look at the Page Version History my newly created version is listed there but the Author and Publisher columns are totally empty.

If I look into the database in the SiteTree_Versions table I find TWO versions of the same page I just created (one with status Save (update) and one with Published - is this correct?). The page with the Published status gets PublisherID = 1 but AuthorID is 0.

The same happens if I create a new page.

Even though the PublisherID is set to 1 (that's the default admin account, i.e. me) the Publisher column is still empty under Page Version History.

Any clues?

Avatar
heidgert

7 December 2009 at 10:59am Community Member, 16 Posts

I just tried this on a fresh install of 2.3.4 with the same result.

Can anyone here verify whether this works for you?

Avatar
Henk Poley

30 December 2009 at 4:20am 30 Posts

I'm seeing the same thing with a pretty vanilla SS 2.3.4

I only saw it because the Latest Page Widget shows up no author. I'll look in the SS bugtracker next.

Avatar
Henk Poley

30 December 2009 at 4:29am 30 Posts

This is probably fixed by this patch :

http://open.silverstripe.org/changeset/85086

Avatar
heidgert

4 January 2010 at 11:45am Community Member, 16 Posts

Sorry for my ignorance but it seems like this fix was 4 months old. Shouldn't this mean that it should be solved in 2.3.4?

Avatar
Sean

4 January 2010 at 12:24pm Forum Moderator, 921 Posts

No, that change was only applied to trunk. This change will only appear in trunk or 2.4 (trunk was branched to create 2.4 a few months ago).