Bugs on Snapshot pop-up window

Description

  1. Open Snapshot pop-up window

  2. Click "Publish to..."

  3. Clicking on "Copy link" doesn't change color of the button, so user can't see is he copied the link or no.

  4. And maybe "delete snapshot" should be highlighted
    Another thing: Clicking on "delete snapshot" link returns an Unexpected error, in JS console:

    angular.js:12759 GET https://snapshots.percona.com/api/snapshots-delete/wy3AVMUsb3C4BX940pqEeVUJq6GabLDF 403 (Forbidden) (anonymous) @ angular.js:12759 g @ angular.js:12492 u @ angular.js:12244 u @ angular.js:17051 (anonymous) @ angular.js:17095 $digest @ angular.js:18233 $apply @ angular.js:18531 (anonymous) @ angular.js:27346 dispatch @ jquery.js:5206 g.handle @ jquery.js:5014 system-overview:1 Failed to load https://snapshots.percona.com/api/snapshots-delete/wy3AVMUsb3C4BX940pqEeVUJq6GabLDF: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://10.10.11.50:8888' is therefore not allowed access. The response had HTTP status code 403. angular.js:14700 Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://snapshots.percona.com/api/snapshots-delete/wy3AVMUsb3C4BX940pqEeVUJq6GabLDF","retry":0,"headers":{"Accept":"application/json, text/plain, */*"}},"statusText":"","xhrStatus":"error"} .... angular.js:14700 Possibly unhandled rejection: {"message":"Unexpected error","severity":"warning"}

How to test

None

How to document

None

Smart Checklist

Activity

Roma Novikov March 21, 2018 at 8:13 AM

1) "Copy link" is from Grafana, and for now we'll not ready to fix this.
2) 403 error is "planed" this is our "protection" for Snapshot Server

Won't Do

Details

Assignee

Reporter

Priority

Affects versions

Smart Checklist

Created March 21, 2018 at 7:46 AM
Updated August 27, 2018 at 3:39 PM
Resolved March 21, 2018 at 8:14 AM

Flag notifications