Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8843

ametys:resourcesByPath fails with accent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.8.0, 4.7.8
    • 4.1.0
    • None

      This code does not work :

      <img class="icon" src="{resolver:resolveImage('explorer', ametys:resourcesByPath('CharteGraphique/Nouveaut*é*s')/resource[@name ='concours.png']/@id,23,0)}"/>

       

      This code works :

      <img class="icon" src="{resolver:resolveImage('explorer', ametys:resourcesByPath('CharteGraphique/Nouveautes')/resource[@name ='concours.png']/@id,23,0)}"/>

      It seems tha the ametys helper fails with accent

       

            Unassigned Unassigned
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: