Grails
  1. Grails
  2. GRAILS-6007

Inline plugins do not include i18n messages.properties as expected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2 final
    • Fix Version/s: 2.1.5, 2.2.2, 2.3-M1
    • Component/s: Plugins
    • Labels:
      None
    • Testcase included:
      yes

      Description

      From the Grails User List:

      On Wed, Mar 10, 2010 at 4:28 PM, <Stokes_Chris@emc.com> wrote:
      Anyone have a working example of inline plugins and message.properties
      working properly?

      When building our project's war we've noticed "proper" plugins like
      hibernate and quartz (grails install-plugin *) will deploy
      message.properties in the final war file. This syncs up with
      http://jira.codehaus.org/browse/GRAILS-1403 which has this fixed back in
      1.1.

      For our modularized "inline" plugins we've noticed a different behavior.
      The messages.properties are included in the zip produced by grails
      package-plugin but the final war does not include the file as expected.
      To get around this we've added our messages to the top level project
      that depends on the inline plugins (for now at least).

      Are we doing something wrong or is this a legitimate bug? We're on
      version 1.2 at the moment.

      Thanks,

      – Chris

      Attached a project showing the behavior. Run grails package-plugin under inlines/hasmessages plugin and then build the war from nomessagesbug/.

      1. nomessagesbug.tar.gz
        164 kB
        Christopher Stokes

        Issue Links

          Activity

          Christopher Stokes created issue -
          Luke Daley made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Critical [ 2 ]
          Fix Version/s 1.4 final [ 16811 ]
          Contegix Support made changes -
          Project Import Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ]
          Burt Beckwith made changes -
          Workflow jira [ 34505 ] Grails [ 40863 ]
          Burt Beckwith made changes -
          Workflow Grails [ 40863 ] Copy of Grails [ 48293 ]
          Burt Beckwith made changes -
          Workflow Copy of Grails [ 48293 ] Grails [ 55703 ]
          Burt Beckwith made changes -
          Workflow Grails [ 55703 ] Grails2 [ 63249 ]
          Stéphane Maldini made changes -
          Assignee Stéphane Maldini [ pred ]
          Graeme Rocher made changes -
          Fix Version/s 2.0.1 [ 13005 ]
          Fix Version/s 2.0 final [ 11041 ]
          Burt Beckwith made changes -
          Workflow Grails2 [ 63249 ] jira [ 71461 ]
          Burt Beckwith made changes -
          Workflow jira [ 71461 ] Grails2 [ 79907 ]
          Peter Ledbrook made changes -
          Last Reviewed 01/Jan/10
          Peter Ledbrook made changes -
          Workflow Grails2 [ 79907 ] jira [ 87951 ]
          Peter Ledbrook made changes -
          Workflow jira [ 87951 ] Grails2 [ 96158 ]
          Graeme Rocher made changes -
          Fix Version/s 2.0.2 [ 13064 ]
          Fix Version/s 2.0.1 [ 13005 ]
          Graeme Rocher made changes -
          Fix Version/s 2.0.3 [ 13094 ]
          Fix Version/s 2.0.2 [ 13064 ]
          Graeme Rocher made changes -
          Fix Version/s 2.0.4 [ 13099 ]
          Fix Version/s 2.0.3 [ 13094 ]
          Jeff Scott Brown made changes -
          Fix Version/s 2.2 [ 13093 ]
          Fix Version/s 2.0.4 [ 13099 ]
          Graeme Rocher made changes -
          Fix Version/s 2.3 [ 13311 ]
          Fix Version/s 2.2-RC1 [ 13093 ]
          Graeme Rocher made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.1.5 [ 13434 ]
          Fix Version/s 2.2.2 [ 13435 ]
          Resolution Fixed [ 1 ]
          Jeff Scott Brown made changes -
          Link This issue relates to GRAILS-10058 [ GRAILS-10058 ]

            People

            • Assignee:
              Stéphane Maldini
              Reporter:
              Christopher Stokes
            • Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last Reviewed:

                Development