Skip to content

Fix TokenCache initialization when importing a context #7456

Closed
@markcowl

Description

@markcowl

Description

When importing a saved context container with multiple contexts, the existing token cache should be overwritten with the token cache for the default context.

Instead, the token cache is cleared and the user must log in again.

  • Fix import logic to always overwrite token cache for the default context, if it is non-null
  • Add regression tests to ensure that non-empty context is always overwritten on import, with check s for null and empty contexts

Cost: 6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions