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

Pre-filled text from Summary field should be cleared automatically when the page is saved after uploading a logo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 12.2, 11.10.4
    • 11.7-rc-1, 11.10.3, 12.1
    • None
    • Windows 10 Pro 64 bit, Edge 80, using a local instance XWiki 12.1 on PostgreSQL 12, Tomcat 9.0.27
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Go to Administer Wiki > Look & Feel > Themes > Customize (Color Theme)
      3. Go to 'Logos'
      4. Click 'Choose an attachment'
      5. Browse for an image, then click 'Upload and select'
      6. Observe the 'Summary' field on the page
      7. Click 'Save'
      8. Make some other theme customizations (for ex. go to Base colors and set a @text-color and/or set a drop-down background)
      9. Click 'Save'
      10. Go to theme page's history and observe the saved Summary for all versions (including minor versions)

      EXPECTED RESULTS

      After the image is uploaded and the page is saved (Step 7), the pre-filled text 'Update field FlamingoThemesCode.ThemeClass_0_logo' is cleared (only the placeholder's text is displayed: 'Add summary...'), in order to avoid saving a wrong summary for the next customizations (like setting a text color or a background).

      ACTUAL RESULTS

      After the page is saved with the uploaded logo (Step 7) the pre-filled text is still displayed, the user having to manually delete it in order to avoid being saved as Summary for the further customization actions (that are not related to logo).

      Attachments

        1. 1_Update_theme_logo_text.png
          161 kB
          Ilie Andriuta
        2. 2_Update_theme_logo_history.png
          79 kB
          Ilie Andriuta
        3. 3_Update_theme_logo_diff.png
          61 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: