-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: NXRF-4.5.0.Alpha3-NX1
-
Component/s: RichFaces
-
Sprint:nxfit 9.2.4
-
Story Points:5
The fix for NXP-21585 (Calendar expanded and collapsed just after) was done in jquery at https://github.com/jquery/jquery/commit/e889134#diff-169760a97de5c86a886842060321d2c8
For details see:
https://github.com/jquery/jquery/pull/864
https://bugs.jquery.com/ticket/11795
https://bugs.jquery.com/ticket/10470
RichFaces has taken this fix into account in 4.5.0.Beta1 by upgrading jquery from 1.8.3 to 1.11.1 (https://issues.jboss.org/browse/RF-13761), but upgrading RichFaces from 4.5.0.Alpha3 to 4.5.0.x in Nuxeo 7.10 is not an option as detailed in NXP-22310.
Thus we need to patch RichFaces 4.5.0.Alpha3 to embed a patched version of jquery.
We tried several options to patch jquery:
- Checkout 1.8.3 and cherry-pick e889134 => too many conflicts.
- Rely on e889134 => not a tag.
- Rely on the next tag 1.9.0 => too many changes, requires jquery migrate and makes ITSearchTabTest fail for the same reason as in https://jira.nuxeo.com/browse/NXP-22310?focusedCommentId=299363&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-299363.
So let's apply the minimum changes to 1.8.3 taken from from e889134.