fr:number: blur from field doesn't reformat value if no change #2858

ebruchez opened this Issue Aug 2, 2016 · 0 comments


None yet

1 participant

ebruchez commented Aug 2, 2016 edited

Issue with the handling of xxf:format and diffs. XFormsControl.compareExternalMaybeClientValue tests on (previousControlOpt exists (_ eq this)) && (getInitialLocal eq getCurrentLocal), which returns true, and so there is no further external value comparison. So:

  • instance value is "1.5"
  • client comes with "1,5" which is xxf:unformatted to "1.5"
  • no instance data change, so no tree copy
  • so no comparison/re-evaluation of the external value

+1 from customer

@ebruchez ebruchez added this to the 2.10.3 milestone Aug 2, 2016
@ebruchez ebruchez self-assigned this Aug 2, 2016
@ebruchez ebruchez closed this in 2fe53fd Aug 2, 2016
@ebruchez ebruchez modified the milestone: 2016.2, 2.10.3 Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment