[jboss-jira] [JBoss JIRA] (WFCORE-687) patches with duplicate element patch-id values should be rejected

Alexey Loubyansky (JIRA) issues at jboss.org
Wed May 13 03:35:19 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky updated WFCORE-687:
-------------------------------------
    Fix Version/s: 1.0.0.CR4


> patches with duplicate element patch-id values should be rejected
> -----------------------------------------------------------------
>
>                 Key: WFCORE-687
>                 URL: https://issues.jboss.org/browse/WFCORE-687
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Patching 
>    Affects Versions: 1.0.0.CR2
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: 1.0.0.CR4, 2.0.0.Alpha1
>
>
> Patches that contain duplicate patch-id attribute values in 'element' elements in patch.xml can be applied but can't be rolled back.  An attempt to rollback such a patch will result in an error "Content loader already registered for patch " + patchID, thrown from IdentityPatchContext.recordContentLoader(patchID, contentLoader).
> Current implementation should reject patches with duplicate element patch-id values (unless the value is 'base').
> Adding support for duplicate element patch-id values is a more difficult task at this point. If we decide to support it after all, it'll be implemented under a different issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list