New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy/paste of control with multiple alerts is done incorrectly #3737

Closed
ebruchez opened this Issue Sep 14, 2018 · 1 comment

Comments

@ebruchez
Collaborator

ebruchez commented Sep 14, 2018

Original and pasted:

<xf:input id="control-4-control" bind="control-4-bind">
    <xf:label ref="$form-resources/control-4/label"/>
    <xf:hint ref="$form-resources/control-4/hint"/>
    <xf:alert ref="$form-resources/control-4/alert[1]" validation="validation-3-validation"/>
    <xf:alert ref="$form-resources/control-4/alert[2]" validation="validation-4-validation"/>
    <xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
<xf:input id="control-5-control" bind="control-5-bind">
    <xf:label ref="$form-resources/control-5/label"/>
    <xf:hint ref="$form-resources/control-5/hint"/>
    <xf:alert ref="$form-resources/control-5/alert" validation="validation-1-validation"/>
    <xf:alert ref="$form-resources/control-5/alert" validation="validation-2-validation"/>
    <xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>

Note the missing [1] and [2].

+1 from customer

@ebruchez ebruchez self-assigned this Sep 14, 2018

@ebruchez

This comment has been minimized.

Show comment
Hide comment
@ebruchez

ebruchez Sep 14, 2018

Collaborator
  • repro with 2017.2.x as well
Collaborator

ebruchez commented Sep 14, 2018

  • repro with 2017.2.x as well

@ebruchez ebruchez added this to Done in Orbeon Forms 2017.2.3 via automation Sep 28, 2018

@ebruchez ebruchez closed this in 0776310 Sep 28, 2018

ebruchez added a commit that referenced this issue Sep 28, 2018

ebruchez added a commit that referenced this issue Sep 28, 2018

@ebruchez ebruchez added this to Done in Orbeon Forms 2018.2 Sep 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment