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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.7-rc-1, 11.10.3, 12.1
    • Fix Version/s: 12.2, 11.10.4
    • Component/s: None
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Edge 80, using a local instance XWiki 12.1 on PostgreSQL 12, Tomcat 9.0.27
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: