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

CueGui, fix limit assignation bug #1291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KernAttila
Copy link
Contributor

Link the Issue(s) this Pull Request is related to.
When a limit has a space in its name, it is not possible to assign it to a layer in cueGui.
Test:

  • create a limit "Max 5 frames", submit a job with this limit.
  • The layer displays the limit correctly
  • Now edit the layer in cueGui (change minCores for instance)
  • Save
  • The limit disappear

Summarize your change.
Fix: do not strip spaces in the UI
The fail comes from str.isalnum() which returns False when a string contains a whitespace.

Fix: strip limit name when renaming (already done when creating a new one)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 29, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@KernAttila
Copy link
Contributor Author

/easycla

@KernAttila KernAttila reopened this May 29, 2023
@KernAttila
Copy link
Contributor Author

Sorry, got mixed up between my work and personnal account. I rebased the commits with the proper author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant