Tapestry
  1. Tapestry
  2. TAPESTRY-1964

Constant not used from app-name in TapestryModule

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.15
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      I had some trobubles with @Symbol annotation ...
      and ran into following code in TapestryModule

      @Inject @Value("WEB-INF/$

      {tapestry.app-name}

      .properties") String appCatalog

      I changed it to
      @Inject @Value("WEB-INF/$

      {"+InternalConstants.TAPESTRY_APP_NAME_SYMBOL+"}

      .properties") String appCatalog

      and then into
      @Inject @Symbol(InternalConstants.TAPESTRY_APP_NAME_SYMBOL) String appName
      ....
      String appCatalog = "WEB-INF/"appName".properties";

      not that this is a big deal or anything, just a small fix...

        Activity

        Hide
        Howard M. Lewis Ship added a comment -

        We don't define a fix version until a fix is committed.

        Show
        Howard M. Lewis Ship added a comment - We don't define a fix version until a fix is committed.
        Hide
        Davor Hrg added a comment -

        the fix for current trunk

        Show
        Davor Hrg added a comment - the fix for current trunk

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Davor Hrg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development