Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26163

RESTEasy docbook doesn't reflect the i18n/l10n current state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.0.GA-CR2
    • Localization
    • None
    • False
    • None
    • False

      Our internal test suite detected high amount of so-called "id range overlaps" - message bundle in [1] sets @Message annotation id values which are out of declared ranges in docbook/reference/en/en-US/modules/I18N.xml

      For example: 

      resteasy-core-spi/src/main/java/org/jboss/resteasy/resteasy_jaxrs/i18n/Messages.java':860:executorShutdown - @Message(id=BASE+2050,value="The executor has been shutdown and is no longer available.") id: 5050 is not in range 3000-4499
      resteasy-core-spi/src/main/java/org/jboss/resteasy/resteasy_jaxrs/i18n/Messages.java':86:scheduledTimeout - @Message(id=BASE_ASYNC+40,value="scheduled timeout") id: 9540 is not in range 3000-4499
      

      I highly doubt that used values in [1] will be changed at all, thus filing this Jira more like an indication of mismatch between declared id ranges and their actual values. We will disable this particular test in our test suite (plus adding a comment with a link pointing to that Jira).

      [1] https://github.com/resteasy/resteasy/blob/main/resteasy-core-spi/src/main/java/org/jboss/resteasy/resteasy_jaxrs/i18n/Messages.java

              rhn-engineering-lijli Lijun Li
              szhantem@redhat.com Sultan Zhantemirov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: