Changes for page XAR Extensions

Last modified by Thomas Mortagne on 2021/03/02 18:22

<
From version < 5.1 >
edited by Thomas Mortagne
on 2018/06/07 09:39
To version < 6.1 >
edited by Thomas Mortagne
on 2019/01/29 16:18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -72,6 +72,13 @@
72 72   public ConflictQuestion.ConflictType[] getConflictTypes()
73 73  {{/code}}
74 74  
75 +It's also possible to set the default answer (as one of the ##org.xwiki.extension.xar.question.GlobalAction## enum entries) for each kind of conflict in the ##InstalRequest## trough ##setProperty(String key, Object value)## method:
76 +
77 +* ##extension.xar.packager.conflict.always.MERGE_SUCCESS##: 3 ways merge succeed
78 +* ##extension.xar.packager.conflict.always.MERGE_FAILURE##: 3 ways merge failed
79 +* ##extension.xar.packager.conflict.always.CURRENT_EXIST##: Already existing different document in database but not in previous version of upgraded/uninstalled extension
80 +* ##extension.xar.packager.conflict.always.CURRENT_DELETED##: Document already deleted in the database
81 +
75 75  == Document to extension ==
76 76  
77 77  [since 9.3]

Get Connected