PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32186

Breadcrumb portlet generates invalid HTML when displaying only one item

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      1. Add Breadcrumb portlet to a page
      2. Configure it to display only one item, e.g. uncheck "Show Guest Site" option so it displays the Welcome page link only
      3. Reload the page to refresh the portlet
      4. View page source - the generated HTML tag is <li class="last" class="first"> instead of <li class="last">

        Issue Links

          Activity

          Hide
          Serena Song (Inactive) added a comment - - edited

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x 6.1.20 EE GA2.

          The generated HTML tag is <li class="last" class="first">.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 743379dba6b274e8de751c55c0b58bb0d2e6b7c5.

          The generated HTML tag now is <li class="only">.

          Show
          Serena Song (Inactive) added a comment - - edited PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x 6.1.20 EE GA2. The generated HTML tag is <li class="last" class="first">. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 743379dba6b274e8de751c55c0b58bb0d2e6b7c5. The generated HTML tag now is <li class="only">.
          Hide
          Sophia Zhang added a comment - - edited

          Hey Serena,

          This ticket has been backported to 6.1.x EE, please also test it against 6.1.xEE. Thank you.

          Show
          Sophia Zhang added a comment - - edited Hey Serena, This ticket has been backported to 6.1.x EE, please also test it against 6.1.xEE. Thank you.
          Hide
          Serena Song (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 367deedcee5be99f96cf6b04735546c39520ef98.

          The generated HTML tag now is <li class="only">.

          Show
          Serena Song (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 367deedcee5be99f96cf6b04735546c39520ef98. The generated HTML tag now is <li class="only">.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 19 weeks, 6 days ago

                Development

                  Structure Helper Panel