Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-79

Problem with ametys-front-edition-insert-move-page-button XSL template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.1.0
    • Labels:
      None
    • Environment:
      4.1RC1
    • Sprint:
      4.1 RC3

      Description

      I have the following sitemap structure :
      Sitemap
      |_index
      |_page1
      _|_page2
      __|_page3
      __|_page4
      __|_page5

      I'm on the frontedition of page2

      In /skins/demo/stylesheets/menus.xsl, I added a call to ametys-front-edition-insert-move-page-button with different values for page-new-pos :

      1. if -1, then it fails to move as last child for page3, page4, page5 (see org.ametys.web.repository.page.PageDAO.movePage(String, String, int) javadoc) KO
      2. if 0, then it works for page3, page4, page5 OK
      3. if 1, then it works for page4, page5, but it fails for page3
      4. if 2, then it works for page5, it fails for page3, page4

        Attachments

          Activity

            People

            • Assignee:
              pgros Pierre Gros
              Reporter:
              sprieul Simon Prieul
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: