Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
6.1.0 CE GA1, 6.1.10 EE GA1
-
Tomcat 7, Eclipse Indigo, Windows 7
Description
I'm using the JournalArticleServiceUtil class to import web contents from another portal into a Liferay portal.
Many of these contents I'm trying to import are expired in the original portal, so, in these cases, I pass the display date and the expiration date to the addArticle method, in an attempt to import those contents as expired contents.
The thing is that after I got to import them, I checked the control panel, and saw that there are no contents expired. I went to the database and saw that the expiration date of all the journal articles was null.
I thought that it could be an API problem, so I tried editing a web content and setting the expiration date from the control panel, but that also didn't work.
Could it be because the expiration date is before the current date (although it's also after the display date)?
Is there a workaround for this?