We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 8229 - Unpublishing an issue does not unpublish articles
Unpublishing an issue does not unpublish articles
Status: NEW
Product: OJS
Classification: Unclassified
Component: Submissions and Publishing
2.4.x
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-21 16:06 PDT by James MacGregor
Modified: 2014-08-26 14:24 PDT (History)
3 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2013-05-21 16:06:47 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.
Comment 1 James MacGregor 2013-05-21 16:24:05 PDT
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?
Comment 2 Jason Nugent 2013-09-04 06:29:02 PDT
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
Comment 3 Clinton Graham 2014-08-18 07:15:25 PDT
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.
Comment 4 Alec Smecher 2014-08-26 14:24:37 PDT
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.