Skip to content

Long multi-line expressions are not editable #12741

Closed as not planned
Closed as not planned
@ZimM-LostPolygon

Description

@ZimM-LostPolygon

Describe the bug
Long multi-line expressions are not editable if there are more than 24 lines in an expression.

To Reproduce
Steps to reproduce the behavior:

  1. Create a property expression with lots of Python code (more than 24 lines)
  2. Click on Edit at the newly created expression
  3. See that only the first 24 lines of the expression code are visible. The remaining lines are not accessible or editable in any way, other than visibly appearing when hovering over.

Note that the full code still actually exists in DOM and when viewed in the PostgreSQL database, it's just not possible to edit it normally.

Expected behavior
The expression editor should allow editing expressions of any length.

Screenshots

Before updating:

Image

After updating and reopening:

Image

Version and Deployment (please complete the following information):

  • authentik version: 2024.12.2
  • Deployment: docker-compose

Additional information

  • Browser: Firefox 134.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus/staleThis issue has not been updated recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions