Skip to content

External Authentication IDs are truncated when the value entered has more than 200 characters #5037

Closed
@cdrfun

Description

@cdrfun

Describe the Bug

When editing a Role and linking it to multiple External Authentication IDs, you may extend the 200 character length the field has in the database. When this happens, no error is shown. Instead, the string is silently truncated.

Steps to Reproduce

  1. Open Role
  2. Add more than 200 characters
  3. Save
  4. Open Role
  5. Only 200 characters are present

Expected Behaviour

One could argue it should be possible to add more than 200 characters, as you can enter a list of any number of external ids.

But at least there should be a warning, that the string is being truncated. The user won't recognize this otherwise.

Screenshots or Additional Context

No response

Browser Details

Firefox 24.02.3 Windows 10

Exact BookStack Version

v24.02.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions