juliocamarero/liferay-portal — pull request #739 by KocsisDaniel (2012-11-15 09:44:16+00:00)
Title: LPS-30713

Hi Julio,

as you requested I checked the usage of dataRange type of publish. It doesn't need to be added to the publisher message listeners because when we save the publisherRequest in the stagingImpl we calculate a start/end date based on the current setup and we save these dates into the request object. With option last n days and fromLastPublishDate we should change the dates based on the actual time but the dataRange is a kind of static window in the time (and I don't think it makes sense to use it for repeating events) so we can leave the calculated times as-is. So I think we shouldn't add dataRange handling to the message listeners.

thanks,
Daniel