Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5298

macros defined in capabilities complain about redefinition when rendered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Capabilities
    • Labels:
      None

      Description

      jvm 1    | WARN  [qtp1536647185-55] Velocity - Velocimacro : VM addition rejected : bold : inline not allowed to replace existing VM
      jvm 1    | WARN  [qtp1536647185-55] Velocity - Failed to add macro: #bold(  text ) : source = file:/Users/jason/ws/sonatype/central-secure/target/0/nexus-professional-bundle-template-2.2/nexus/WEB-INF/plugin-repository/central-secure-nexus-plugin-1.1-SNAPSHOT/central-secure-nexus-plugin-1.1-SNAPSHOT.jar!/com/sonatype/central/secure/nexus/plugin/internal/central-secure-about.vm
      jvm 1    | WARN  [qtp1536647185-55] Velocity - Velocimacro : VM addition rejected : br : inline not allowed to replace existing VM
      jvm 1    | WARN  [qtp1536647185-55] Velocity - Failed to add macro: #br(  ) : source = file:/Users/jason/ws/sonatype/central-secure/target/0/nexus-professional-bundle-template-2.2/nexus/WEB-INF/plugin-repository/central-secure-nexus-plugin-1.1-SNAPSHOT/central-secure-nexus-plugin-1.1-SNAPSHOT.jar!/com/sonatype/central/secure/nexus/plugin/internal/central-secure-about.vm
      

      This seems to imply that the template rendering is leaking macro defs due to using the sisu-velocity components.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jdillon Jason Dillon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title