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

[management] clean empty arrays in policies configuration #469

Closed
NicolasGeraud opened this Issue Feb 27, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@NicolasGeraud
Member

NicolasGeraud commented Feb 27, 2017

When we have an array in a policy configuration, angular-schema-form generate an empty array.
The consequence is that is possible to save [null]

We have to clean arrays before saving them.

Steps to Reproduce (for bugs)

  1. create an api,
  2. add the ip-filtering policy
  3. add a blacklist ip
  4. save and deploy
  5. call the api

Your Environment

  • Version used: 1.3.3

Workaround

edit the policy configuration and remove empty arrays

@aelamrani aelamrani self-assigned this Feb 27, 2017

@aelamrani aelamrani changed the title from [management] clean empty arrays in policies configuration to [management] clean empty arrays in policies configuration Feb 27, 2017

@NicolasGeraud NicolasGeraud added this to the 1.4.0 milestone Mar 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment