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

The proxy backend form is closed when proxy path isn't unique #1935

Closed
marla-singer opened this issue Nov 18, 2016 · 3 comments
Closed

The proxy backend form is closed when proxy path isn't unique #1935

marla-singer opened this issue Nov 18, 2016 · 3 comments
Assignees

Comments

@marla-singer
Copy link
Contributor

marla-singer commented Nov 18, 2016

Verified on nightly.apinf.io, multi-proxy case

Steps:

1.Create an api
2. Go to Proxy tab and add the next values:

  • Proxy: Nightly umbrella
  • Proxy base path: /new-proxy-path/
  • Api base path: /
  1. Click on button Save & Publish

Found:

  • The form is closing and user can't understand why

Reason:

  • The proxy base path isn't unique

Expected:

  • The form is opened and an error message is shown
@jykae
Copy link
Contributor

jykae commented Dec 16, 2016

Assigned by @bajiat

@jykae jykae assigned jykae and unassigned brylie Dec 16, 2016
@bajiat bajiat unassigned jykae Jan 5, 2017
@bajiat bajiat added planning and removed ready labels Jan 5, 2017
@jykae jykae added ready and removed planning labels Jan 9, 2017
@jykae
Copy link
Contributor

jykae commented Jan 9, 2017

@bajiat @marla-singer can't figure out any simple solution for this. Error is caused on insert/update for unique constraint, autoForm finished onError & resets form. This looks like caused by design. Template helper "showForm" checks proxyId value from ReactiveVar.

Any smart ideas are welcome.

@bajiat bajiat modified the milestone: Sprint 36 Jan 9, 2017
@brylie
Copy link
Contributor

brylie commented Jan 9, 2017

@apinf/core Lets have a chat/discussion tomorrow to think how this should be better designed.

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

No branches or pull requests

4 participants