Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2895

Clicking the file delete action triggers upload dialog when dialog has error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.0
    • Component/s: Framework
    • Labels:
      None

      Description

      How to reproduce

      • To to edit form of a course info page
      • For the course title image, upload a pdf
      • Save the form
      • => OK error appears
      • Click the delete icon to remove the PDF
      • => NOK: the file upload dialog appears again
      • => NOK: file not deleted

      The problem is the invisible file upload dialog that is not aware of the error icon. The error icon is also a bit strange in case the file upload preview is displayed, in that case the error icon is at the top close to the preview icon and not by the input field. 

      The solution is to remove the error icon for the file upload element. The color and the error text is sufficient to see that there is an error, no icon needed. 

        Figma for Jira By 42nd

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                gnaegi Florian Gnägi
                Reporter:
                gnaegi Florian Gnägi
                Tester:
                Sabrina Scheiwiler (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour, 30 minutes
                    1h 30m