LPS-39587

Hi @migue,

this is the second attempt with tests. Thanks to the test, I've found an issue about properties ordering.

Basically, if adding these properties:

liferay.portlet.portal.9.struts-path=MiStrutsPath
liferay.portlet.portal.9.scheduler-entry.0.scheduler-event-listener-class=com.liferay.portlet.admin.EventListener1
liferay.portlet.portal.9.scheduler-entry.0.trigger.simple.simple-trigger-value=1
liferay.portlet.portal.9.scheduler-entry.0.trigger.simple.time-unit=day
liferay.portlet.portal.9.scheduler-entry.1.scheduler-event-listener-class=com.liferay.portlet.admin.EventListener2
iferay.portlet.portal.9.scheduler-entry.1.trigger.simple.simple-trigger-value=2
liferay.portlet.portal.9.scheduler-entry.1.trigger.simple.time-unit=day
liferay.portlet.portal.9.configuration-action-class=

For portlet with id=9:

    Change struts-path value
    Remove all ocurrences from existing scheduler-entry and add the properties' ones.
    Remove configuration-action-class


Thanks!