Skip to content

DTS: Entering empty password results in UI bugs #1326

@m-iwanicki

Description

@m-iwanicki

Component

Dasharo Tools Suite

Device

QEMU Q35 Emulator

Dasharo version

No response

Dasharo Tools Suite version

v2.4.0

Test case ID

No response

Brief summary

Entering empty password results in DTS being stuck at Dasharo DPP credentials have been saved until enter has been pressed and then:

Your credentials give access to:
Dasharo Pro Package (DPP): NO
DTS Extensions: YES
Checking for available DTS extensions...
mc: <ERROR> Unable to list folder. Access Denied.
Press Enter to continue.

We have mc error and also for some reason DTS Extensions: YES
Pressing Enter again results in UI freezing again but this time after clearing current UI (so we see only black screen). We have to press enter to show UI. After that every screen refresh (each key press) stops at blank screen and we have to press Enter to show anything.

Not only that but after that I couldn't use working credentials, DTS would display that they were ok but wouldn't save changes. It's possible that it is separate bug and it's impossible to change credentials after loading them once

How reproducible

100%

How to reproduce

  1. Start DTS in QEMU
  2. Enter any DPP e-mail, e.g. I tried abcd
  3. Enter empty password

Expected behavior

  • Don't allow empty password
  • Or fail gracefully (no mc errors, don't show DTS Extensions: YES if they are not available)
  • Don't freeze without informing user that they have to press something

Actual behavior

  • Allows empty password
  • follow up messages shouldn't be misleading and shouldn't display used command errors (mc in this case)
  • Waits for user input after displaying Dasharo DPP credentials have been saved (without informing user that they have to do something), then again each time it clears screen (waits for user input on empty black screen)

Screenshots

No response

Additional context

There are similar issues when entering e-mail

Solutions you've tried

No response

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions