Tapestry
  1. Tapestry
  2. TAPESTRY-1317

Service contributors are not case insensitive with respect to the service id.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.4
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      When contributing to a service you currently must match the service id case exactly. This is at odds with the general case insensitive policy so I assume it is a bug.

      e.g.
      If service has id "foo.Blah"
      then
      @Contribute("foo.Blah") will be picked up
      but
      @Contribute("foo.blah") will not.

      1. TAP-1317.patch
        0.6 kB
        Ben Sommerville

        Activity

        Hide
        Ben Sommerville added a comment -

        Simple change to compare ids using equalsIgnoreCase

        Show
        Ben Sommerville added a comment - Simple change to compare ids using equalsIgnoreCase
        Hide
        Ben Sommerville added a comment -

        No longer an issue since the removal of namespacing & the @Contribute annotation

        Show
        Ben Sommerville added a comment - No longer an issue since the removal of namespacing & the @Contribute annotation

          People

          • Assignee:
            Unassigned
            Reporter:
            Ben Sommerville
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development