[asterisk-bugs] [JIRA] (ASTERISK-26320) ari.asterisk.org resets values on page reload
Sébastien Duthil (JIRA)
noreply at issues.asterisk.org
Fri Aug 26 14:25:56 CDT 2016
Sébastien Duthil created ASTERISK-26320:
-------------------------------------------
Summary: ari.asterisk.org resets values on page reload
Key: ASTERISK-26320
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26320
Project: Asterisk
Issue Type: Bug
Security Level: None
Environment: Browser: Iceweasel 44.0
Asterisk: 13.10.0
Reporter: Sébastien Duthil
Severity: Trivial
Given I have configured Asterisk to serve the ARI swagger doc on http://mybox:1234/, with a user "me", password "opensesame"
Given I open my browser on http://ari.asterisk.org
Given I set the values (URL, user:password) and click Explore
Given I see correctly the Swagger doc
When I reload the page
Then the Swagger URL is reset to the default http://localhost:8088/...
Then the user:password are still set correctly
Then the Swagger doc is not displayed anymore, it reads:
Can't read from server. It may not have the appropriate access-control-origin settings.
What I'd expect:
* The URL does not change (since the user:password are not reset)
* The swagger doc is reloaded and displayed along with the page
My use case is actually that I always keep http://ari.asterisk.org in a background tab in my browser, because it's a really useful documentation when developing ARI applications. Eventually I close my browser and I start it back up. Then it reloads the tabs of my previous session, including http://ari.asterisk.org, but I can't use the Swagger doc directly, and I have to reconfigure the URL, user and password. I found out that loading the tabs of the previous session is the same scenario than directly reloading the page from the browser.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list