jakartaee / faces

Jakarta Faces
Other
103 stars 55 forks source link

Fixes mojarra #5160 and MYFACES-4491 #1891

Closed BalusC closed 7 months ago

BalusC commented 7 months ago

Replaces https://github.com/jakartaee/faces/pull/1721 and fixes https://github.com/eclipse-ee4j/mojarra/issues/5160

Changes as compared to #1721:

  1. renamed 'localized-composite' module to 'localizedComposite' conform naming conventions of all other tests
  2. renamed 'LocalizedComposite' in filenames to 'Issue5160' conform naming conventions of all other tests
  3. extract UIViewRoot locale from Accept-Language header instead of request.getLocale() because the latter apparently drops unsupported variants depending on currently used JDK, unintentionally causing the IT to fail
  4. added more tests covering more corner cases