Uploaded image for project: 'Links directory'
  1. Links directory
  2. LINKS-111

Link directory : Cannot add/remove personalised link

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 2.2.0
    • 2.1.0
    • None
    • 4.1M2
    • 4.1 M4

      Hi,

      When a user need to add a personalized link, it appear an error.

      I've joined screen captures and a log extract.

      In the captures, you have :

      • actions
      • error popup
      • error in chrome dev tools

      Regards

        1. capture_1.png
          capture_1.png
          5 kB
        2. capture_2.png
          capture_2.png
          4 kB
        3. capture_3.png
          capture_3.png
          8 kB
        4. capture_4.png
          capture_4.png
          4 kB
        5. log.txt
          16 kB

          [LINKS-111] Link directory : Cannot add/remove personalised link

          This issue is fixed for 2.2.0 version (not yet released) but it is available in nigthly build (http://releases.ametys.org/nightly/org.ametys.plugins/link-directory/2.2.x/), and soon as milestone (http://releases.ametys.org/milestones/org.ametys.plugins/link-directory/2.2.x/)

          Laurence Aumeunier added a comment - This issue is fixed for 2.2.0 version (not yet released) but it is available in nigthly build ( http://releases.ametys.org/nightly/org.ametys.plugins/link-directory/2.2.x/ ), and soon as milestone ( http://releases.ametys.org/milestones/org.ametys.plugins/link-directory/2.2.x/ )

          Hi, in our installation, we used ametys-plugin-link-directory-2.1.0.jar.

          Regards

           

          Sébastien ROUDIERE added a comment - Hi, in our installation, we used ametys-plugin-link-directory-2.1.0.jar. Regards  

          It was actually already fixed (LINKS-106).

          Cédric Damioli added a comment - It was actually already fixed ( LINKS-106 ).

          This is obviously a bug, we'll fix it.

          Cédric Damioli added a comment - This is obviously a bug, we'll fix it.

          It's a big problem, because our AD logins/id are now in this format.

          Regards

          Sébastien ROUDIERE added a comment - It's a big problem, because our AD logins/id are now in this format. Regards

          An XPath part cannot begin with a number like 5082 here. This should be escaped.

          Cédric Damioli added a comment - An XPath part cannot begin with a number like 5082 here. This should be escaped.

          This JCR query is invalid :

          Caused by: org.ametys.plugins.repository.AmetysRepositoryException: An error occured executing the JCR query : //element(intranetv2, ametys:site)/ametys-internal:plugins/linkdirectory/user-favorites/agents-ad-v4/5082/fr/ametys:directoryLinks/element(*, ametys:directoryLink)[fn:lower-case(@ametys-internal:url) = 'http://www.drupal.org' or fn:lower-case(@ametys-internal:internal-url) = 'http://www.drupal.org']
          

          I don't known why ...

          Laurence Aumeunier added a comment - This JCR query is invalid : Caused by: org.ametys.plugins.repository.AmetysRepositoryException: An error occured executing the JCR query : //element(intranetv2, ametys:site)/ametys-internal:plugins/linkdirectory/user-favorites/agents-ad-v4/5082/fr/ametys:directoryLinks/element(*, ametys:directoryLink)[fn:lower-case(@ametys-internal:url) = 'http://www.drupal.org' or fn:lower-case(@ametys-internal:internal-url) = 'http://www.drupal.org'] I don't known why ...

          Actually it is harcoded to have an error on Drupal links
          Just kidding

          Frederic Ravetier (Inactive) added a comment - Actually it is harcoded to have an error on Drupal links Just kidding

            glefebvre Grégory Lefebvre (Inactive)
            sroudiere Sébastien ROUDIERE
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: