#85032Expiration ànd a Publication date order
Description
A client uses the expiration and publication date to show and hide two different kinds of specific content. However when record A needs to be hidden on a specific date, say July 1st, and reactivated on July 30th it does not work because the Publication date is set before the Expiration date. They need to manually re-enable the item.
It would be convenient if an Expiration and Publication date could be reversed.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Bernd Wilke commented 05/17/18, 12:14
-
Benni Mack commented and changed status
NewRejected 11/06/19, 23:00Hey Emile,
thanks for your issue and sorry for the late feedback.
We discussed this issue and TYPO3 is explicitly configured for editors to not allow this, as this is 99.9% of their use cases, so we decided to keep it like this. I suggest you use Workspaces for this kind of publishing functionality (yes, it’s getting better each week!). Otherwise, it should be fairly simple to XCLASS the EndTime and StartTime Restrictions and combine this into one Restriction doing the DB query as suggested.
If you feel we’re missing out on something, let me know via benni at typo3 dot org and I can re-open this issue.
That would result in a much more complicated evaluation for every record.
in the moment the evaluation is like
your logic needs
"AND ( (starttime < currenttime AND (endtime = 0 OR currenttime < endtime)) OR (endtime < starttime AND endtime != 0 AND (currenttime < endtime OR starttime < currenttime)) )"