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

The normalized identifier is never displayed in the image style administration

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Problem

      When the entered name has to be rewritten to follow the naming conventions, the image style administration is supposed to display the resulting identifier in a hint below the field. That hint is never displayed.

      The hint element is declared with a trailing space inside its id:

      <span id="targetTitleActualMessage " class="xHint"></span>
      

      while the script fills it in through the #targetTitleActualMessage selector, which therefore matches nothing.

      Steps to reproduce

      • Go to Administration / Content / Image Styles
      • Type a name that the naming conventions rewrite, for instance my style

      Actual result

      No hint is displayed, so the user has no way to know under which identifier the style is going to be created.

      Expected result

      The hint displays the normalized identifier.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: