An *update* should also apply conditions on web.xml (checking dispatchers for
example)
--------------------------------------------------------------------------------------
Key: MAGNOLIA-3748
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3748
Project: Magnolia
Issue Type: Bug
Components: core
Affects Versions: 4.4.4
Reporter: Grégory Joseph
Assignee: Philipp Bärfuss
Priority: Critical
Fix For: 4.4.5
Since MAGNOLIA-3338, we have an install condition, checking that all necessary
dispatchers are setup in the {{web.xml}} file. This should also be checked on
updates !
When extending {{AbstractModuleVersionHandler}}, this can be done two ways:
{code}
// these conditions will only be checked when applying this specific
version update:
register(DeltaBuilder.update(...)
.addCondition(...)
.addTask(...)
...
);
// these conditions will be applied for each update (i.e applied N times if
we update across N versions)
@Override
protected List<Condition> getDefaultUpdateConditions(Version forVersion) {
return Arrays.asList(...);
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------