Grails
  1. Grails
  2. GRAILS-6307

commons.TagLibArtefactHandler complains about conflicting tags

    Details

    • Type: Bug Bug
    • Status: In Progress
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I have two separate tag lib classes that use

      def acccessControlService

      in 1.3.1 I see traces like this and the tags don't work:

      2010-05-20 12:33:32,327 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: com.mybalsamiq.taglib.LayoutTagLib.balsamiq:accessControlService vs. com.mybalsamiq.taglib.AccessControlTagLib.balsamiq:accessControlService. The former will take precedence.
      2010-05-20 12:33:32,417 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: com.mybalsamiq.taglib.LayoutTagLib.balsamiq:accessControlService vs. com.mybalsamiq.taglib.AccessControlTagLib.balsamiq:accessControlService. The former will take precedence.
      2010-05-20 12:33:32,417 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: com.mybalsamiq.taglib.LayoutTagLib.balsamiq:accessControlService vs. com.mybalsamiq.taglib.AccessControlTagLib.balsamiq:accessControlService. The former will take precedence.
      2010-05-20 12:33:32,430 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: com.mybalsamiq.taglib.LayoutTagLib.balsamiq:accessControlService vs. com.mybalsamiq.taglib.AccessControlTagLib.balsamiq:accessControlService. The former will take precedence.

      It seems that TagLibArtefactHandler is confusing the service injection declaration for a tag closure definition. If I replace def by AccessControlService everything is fine:

      AccessControlService accessControlService

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Jeff Scott Brown
              Reporter:
              Luis Arias
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Last Reviewed:

                Development