Last Published Date incorrect?
I am bombarding you this week because a lot of development has been going on in Cascade recently. We have a group that relies on the "last published date" for collecting data and we are finding that the publish date does not appear to be updating every time the page is published. We turned off Smart Publishing for that reason, but we are still seeing this strange behavior where documents that haven't been touched in awhile that are getting republished are showing a publish date of 5/2/2016 (even though they were published yesterday). And today, if we publish those same files again, they are reflecting as last published yesterday.
This doesn't seem like expected behavior?
Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
1 Posted by Bradley Wagner on 19 May, 2016 08:38 PM
Hi, can you describe the general method of publishing? Are the assets in question being published directly, via workflow, via their containing folder? The audits may help answer this question.
2 Posted by djsedil on 19 May, 2016 08:47 PM
Publishes are being done both directly and via workflow.
Dumb question: where can I go to look at the audits?
3 Posted by Bradley Wagner on 19 May, 2016 08:54 PM
You can either go to the asset itself and click audits under the more menu or if you know the user or group that did the publishing, you can go to that user/group and view its audits around the time the asset was published.
Which trigger are you using to publish assets in your workflows?
4 Posted by djsedil on 19 May, 2016 09:02 PM
So looking at the audits for a few specific pages, there is no item that published on the date in which the last publish date matches.
We are using the publish trigger, but also a publish set trigger that has to publish dependent pages at the same time.
Support Staff 5 Posted by Tim on 23 May, 2016 05:47 PM
Out of curiosity, when you go to Administration -> Dashboard -> Information, is the System Time field correct? I noticed you mentioned:
which seems really strange to me. I don't think I've ever had behavior like this reported, so I'm wondering if the system time may be off.
6 Posted by djsedil on 23 May, 2016 05:49 PM
That is a great question and that was my first best guess. Alas, the system time is correct. ☹
Support Staff 7 Posted by Tim on 23 May, 2016 05:51 PM
If you publish something right now and then check the Last Published On field, is it correct?
8 Posted by djsedil on 23 May, 2016 06:11 PM
Looking at the one page published this morning by one of my users, yes it is correct. We haven’t quite figured out the pattern why it is wrong on some pages and not others.
9 Posted by djsedil on 23 May, 2016 06:19 PM
Oh! But we did notice that in most cases, if they were republishing pages that had been published previously but no changes were made, the date was messed up. If they make a change and then publish, it works just fine (like in the case of this morning).
But the catch is that it doesn’t appear like it is neglecting to update the published (i.e. keeps old last-published-on), it updates it to some undetermined date that is in that past from today but later than when it was actually last published.
Support Staff 10 Posted by Tim on 23 May, 2016 06:27 PM
Are these actual Page assets or File assets? This will be important to know because Smart Publishing is only applicable to Files.
Also, how are you all determining that the 'pages' had been published previously? Were you checking the Last Published On field to confirm this? And if so, is the date already incorrect here or only after publishing the asset again without any changes?
11 Posted by djsedil on 23 May, 2016 07:04 PM
Admittedly we were going off of when our users said they published specific pages. Lately we are trying to going off of the Audits.
These are page assets not file assets.
We turned off Smart Publishing as a test.
Support Staff 12 Posted by Tim on 23 May, 2016 07:08 PM
Gotcha. Thanks for the info. Moving forward, what we'll probably want for you all to do anytime you see similar behavior in the future:
13 Posted by djsedil on 23 May, 2016 07:35 PM
Okay, I will collect that the next time we see it. I’ll get back to you as soon as I can.
Support Staff 14 Posted by Tim on 23 May, 2016 07:36 PM
15 Posted by djsedil on 25 May, 2016 05:39 PM
So I do have some files for you, but we were able to narrow down a pattern.
Here are the two cases in which the published date does not seem to update:
1) When a document has not been changed and someone re-publishes it
2) When a workflow publishes the document
Oddly, this behavior only seems to be happening for one site at the moment (as far as we have identified). Our dev instance of Cascade that hosts this same site for development purposes does not seem to have this issue. The difference between the two is versions. Prod is on 7.12.5 and dev is on 7.14.2
This might be a coincidence, but this behavior began around the time we did a production database copy to qual. Could that have messed with anything?
Support Staff 16 Posted by Tim on 02 Jun, 2016 01:31 PM
Sorry for the delayed response here. Do you happen to know - for what you mentioned here:
Is the document being published directly or is it being published as a result of one of its parent folders being published?
17 Posted by djsedil on 07 Jun, 2016 09:51 PM
18 Posted by Bradley Wagner on 20 Jun, 2016 04:26 PM
Also when you say:
Are you referring to a Page or a File in Cascade? Smart publishing could be causing your files to not re-publish assuming they haven't changed. Pages are always re-published.
So far, we're looking into the following:
Thanks for the details.
19 Posted by djsedil on 27 Jul, 2016 05:58 PM
We are referring to a page in Cascade. Sorry for the delay!