Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14261

Duplicate active element in location picker

    XMLWordPrintable

Details

    • Easy
    • N/A
    • N/A

    Description

      Steps:

      • Create a page called 'A'
      • When you are in edit mode, repress the 'Create' button from the menu
      • You will see that 'A' is duplicated, bug.png

      The generated code is:

      <ol id="target" class="breadcrumb">
        <li class="wiki">
          <a href="/xwiki/bin/view/Main/"><span class="fa fa-home"></span></a>
        </li>
        <li class="active space">
          <a href="/xwiki/bin/view/A/">A</a>      
        </li>
        <li class="preview active">A</li>
      </ol>
      

      If you repress 'Create' the hierarchy presented in the 'Location' will not be used, but the initial one. So it's not a behavior bug, mostly a minor display bug.

      URL

       http://localhost:8080/xwiki/bin/edit/A/WebHome?template=&parent=Main.WebHome&title=A

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: