IzPack
  1. IzPack
  2. IZPACK-554

spec txt and id set without localization files shows the id in the panel

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.4, 5.0
    • Component/s: Panels
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I'm using the latest version available in maven central: 4.3.2

      In our install.xml we have this:
      <res id="userInputSpec.xml" src="panel-configuration.xml" />

      this panel-configuration.xml contains as example this:
      <panel order="1" id="clustering.panel">
      <field type="text" variable="JBOSS_PARTITION_NAME">
      <spec txt="Partition name :" size="20" set="foo" id="jbosspartition"/>
      </field>
      ...

      If we now run the installer we see a stacktrace about the localization file that could not be loaded and the panel itself shows "jbosspartition" as label instead of "Partition name :"

      As a temporary fix we removed all our id attributes. But the documentation states that when no localisation file is found he should fall back to the txt

        Activity

        Hide
        Julien Ponge added a comment -

        Indeed it does not fall back to the @txt attribute. I'm having a look at a potential fix.

        Show
        Julien Ponge added a comment - Indeed it does not fall back to the @txt attribute. I'm having a look at a potential fix.
        Hide
        Julien Ponge added a comment -

        Found a fix!

        Show
        Julien Ponge added a comment - Found a fix!
        Hide
        Francis De Brabandere added a comment -

        Thanks for the quick fix. Will this 5.0 once it is done be released to maven central?

        Show
        Francis De Brabandere added a comment - Thanks for the quick fix. Will this 5.0 once it is done be released to maven central?
        Hide
        Mark Miller added a comment -
        Show
        Mark Miller added a comment - cherry picked to 4.3.3 in my github repo at https://github.com/lucidimagination/izpack/commit/6171f9d4de7b5b999fe827831acd50aae7b2b13a

          People

          • Assignee:
            Julien Ponge
            Reporter:
            Francis De Brabandere
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: