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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.0
    • 1.0.0, 1.1.0
    • None
    • 4.1RC1
    • 4.1 RC3

      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

            pgros Pierre Gros (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: