Asset Publisher - Change from expired version of Web Content to previous approved version is not instantaneous
Description
is duplicated by
Activity

Sophia.Zhang September 4, 2012 at 12:35 AM
PASSED Manual Testing using the following steps:
1. Add a web content in control panel.
2. Edit it to get version 1.1, Publish.
3. Go add Asset publisher Portlet in a page. You will see version 1.1 displayed.
4. Edit it again to get version 1.2 then click Schedule to expire it in future time. Publish. The status should be Approved.
5. Go to the page and you will see verion 1.2 content displayed in Asset Publisher portlet.
6. Wait until the expiration time and check the status in control panel and check the displayed content version in the portlet.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 4c070c0d3abc9c5132e01a96495784058337c024.
Asset Publisher displays "There are no results."
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 14d8add6237bc38a42e06d41b4797945405596bf.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a7e8d79e0d8a8cfaa2172ad0bf443931c9b64da3.
Asset Publisher displays the previous approved web content. In this case, it's should be content version 1.1.

Michael Saechang July 24, 2012 at 3:56 PM
Committed on:
Portal 6.1.x CE GIT ID: 6c4cb7000cac773dd6a963e3b3331c707e3b3064.
Portal 6.2.x GIT ID: e658aaa236c695a3bfaa2b89f91e2f0ac0020b73.
Details
Assignee
Sophia.ZhangSophia.Zhang(Deactivated)Reporter
Tamas MolnarTamas MolnarLabels
Branch Version/s
6.1.xBackported to Branch
CommittedFix Priority
3Git Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Fix Priority
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

With journal.article.expire.all.versions=false property, change from expired version of Web Content to previous approved version is not instantaneous. We can use journal.article.check.interval=1, so in every minute there will be a check for the expired articles which will set the latest approved version to display but in this case there can be still about 1 minute when no web content is displayed.
the problem occurs only if we use the scheduled expiration. It is because the checkArticles method wich restores the previous approved article is only runs once in every interval (journal.article.check.interval).