Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long multi-line expressions are not editable #12741

Open
ZimM-LostPolygon opened this issue Jan 20, 2025 · 0 comments
Open

Long multi-line expressions are not editable #12741

ZimM-LostPolygon opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ZimM-LostPolygon
Copy link

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
@ZimM-LostPolygon ZimM-LostPolygon added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant