WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Entering incorrect credentials causes block to get stuck on the credential entering view #56

@helen

Description

@helen

Describe the bug
If you enter incorrect credentials in the block and save them, if you then correct them and save the block will not switch over to the map view. The credentials do save, so a current workaround is to refresh the screen.

Steps to Reproduce

  1. Enter incorrect credentials that pass the validation (10 characters for team and key IDs, with the header/footer text for the private key).
  2. Save and see that it remains on the credential form, which is expected.
  3. Change the credentials to be valid.
  4. Save and see that it still remains on the credential form, which is not expected.
  5. Refresh and see that the map view now works, indicating that your credentials were saved even though nothing happened.

Expected behavior
I would expect it to switch to the map after entering correct credentials :)

Additional context
This is in the console: [MapKit] mapkit.init(): already initialized; ignoring.. In brief discussions, it seems we need to approach this by destroying the mapkit object and then re-initializing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions