Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68381

id attribute ignored when using symbols with l:icon in jelly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.345
    • 2.348

      I tried using a symbol icon and pass it an id attribute

      <l:icon src="symbol-chevron-down" id="myid"/>

      But in the resulting html the id is not found. The method IconSet.getSymbol() doesn't support defining an id.

          [JENKINS-68381] id attribute ignored when using symbols with l:icon in jelly

          Markus Winter created issue -
          Markus Winter made changes -
          Description Original: I tried using a symbol icon and pass it an id with

          <l:icon src="symbol-chevron-down" id="myid"/>

          But in the resulting html the id is not found. The method IconSet.getSymbol() doesn't support defining an id.
          New: I tried using a symbol icon and pass it an id attribute

          <l:icon src="symbol-chevron-down" id="myid"/>

          But in the resulting html the id is not found. The method IconSet.getSymbol() doesn't support defining an id.

          Markus Winter added a comment -

          The same issue exists for the style attribute

          Markus Winter added a comment - The same issue exists for the style attribute
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/6532 (Web Link)" [ 27708 ]
          Alexander Brandes made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alexander Brandes made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Alexander Brandes made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Alexander Brandes made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Alexander Brandes made changes -
          Released As New: 2.348
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            Unassigned Unassigned
            mawinter69 Markus Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: