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

🐛 : non-editable mandatory variables with default value block stack creation #140

Closed
juwit opened this issue Sep 12, 2019 · 0 comments
Closed
Assignees
Labels
🐛 bug Something isn't working 👤 user:end-user end-user
Milestone

Comments

@juwit
Copy link
Member

juwit commented Sep 12, 2019

Describe the bug
non-editable mandatory variables with default value block stack creation

To Reproduce
Steps to reproduce the behavior:

  1. Create a module
  2. add a mandatory variable
  3. add a default value to this variable
  4. set this variable non-editable
  5. create a stack from this module
  6. try to "save and continue"
  7. nothing happens, no error is show to the user
  8. when using "development tools", we can see that the POST request to /api/stacks responds with a 400 error :
XHRPOST https://${url}/api/stacks
[HTTP/2.0 400 Bad Request 160ms]
{"message":"mandatory variables should not be blank"}

Expected behavior
When having a default value, a mandatory variable should always pass the validation

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Ubuntu 19.04
  • Browser: Firefox 69
  • Version: Gaia 1.2.0

Additional context
N/A

@juwit juwit added the 🐛 bug Something isn't working label Sep 12, 2019
@juwit juwit added this to the 1.3.0 milestone Sep 12, 2019
@juwit juwit self-assigned this Sep 23, 2019
@juwit juwit added the 👤 user:end-user end-user label Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 👤 user:end-user end-user
Projects
None yet
Development

No branches or pull requests

1 participant