vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

Bug: File input UI component is not clearing selection correctly on dialog close #108

Closed hanhaka closed 7 years ago

hanhaka commented 7 years ago

Affected components: UI (File Input component) Affected documentation: - Estimated delivery: Q2/2017 External reference: https://jira.csc.fi/browse/PVAYLADEV-675

Problem File Input UI component is not clearing properly the selected file (selection done by user) on dialog close. Component is clearing only text-input element showing selected filename but not the actual selection.

This bug can be reproduced by taking following steps:

  1. User closes the File Input dialog after selected some file (cancels or finishes the action by clicking OK)
  2. User reopens the same File Input dialog
  3. User wants then to select the very same file as previous time => file can be selected but actual action for file cannot be done/completed (OK button is disabled)

Above bug is identified using Chrome browser but it possible that some other browsers are behaving similarly.

File input component is used widely across the User Interface, both in Security Server and Central Server. At least following dialogs are notified to operate incorrectly.

Security Server UI:

Central Server UI:

Acceptance criteria

hanhaka commented 7 years ago

Fixed in version 6.10.0