PKP Bugzilla – Bug 8229
Unpublishing an issue does not unpublish articles
Last modified: 2014-08-26 14:24:37 PDT
If I unpublish a published issue, the articles assigned to it are still effectively "published" -- they still have a publication date assigned to them, and most importantly they don't appear in the active Editing queue. In order for editors to find them they have to either go to Future Issues -> [issue] -> [article title], or find the article in the submission archive. Not strictly the end of the world, but a hassle. These submissions should probably have their publication dates wiped (& accompanying entries in the published_articles table), and should be returned to the active Editing queue.
For any article that is assigned to an issue that was published, then unpublished: the article can effectively be unpublished and returned to the Editing queue by clicking the Record button next to the "Schedule for Publication in ..." option on the submission's Editing page (effectively rescheduling the article for an issue that hasn't "yet" been published). This resets the article's value for "articles.status" from 3 (published?) to 1. Nothing else is affected -- incl. publication date.
This is probably exactly what we want to happen automatically when an issue is unpublished. I don't have any firm stance on whether the article's publication date should be zeroed. Thoughts?
Hi James -- it'd be my thought that we'd want to remove the publication date, since the article is unpublished, but track the fact that it was published previously via a logged event. Does this happen now? It would definitely happen in 3.0
I'm interested in patching this in 2.4, but I would want someone to briefly explain the role of a "tombstone", since one is created when the article is unpublished. I don't think there are any implications to updating the article's status and publication date before or after the tombstone is created, but I'm not certain.
I plan for unpublishing to:
Change the article's status.
Unset the article's publication date.
Add a new event log entry.
Clinton, the tombstones are used for OAI support -- the OAI-PMH spec supports "deleted" records. (See <http://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords>). For the purposes of OAI-PMH, any article that used to be delivered via OAI-PMH but has since been removed should fall under this heading -- e.g. unpublished articles too, not just deleted ones.