You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
creating template from snapshot does not work from snapshot list #3716
If you go to STORAGE (main section menu on the left), then select VOLUMES from the dropdown list, select a particular volume, than see snapshots, then select a snaphost - then clicking on button WILL work fine and popup window is show as follows:
But if you go to STORAGE (main section menu on the left), then select SNAPSHOTS from the dropdown list and find one and click the button - then an exception happens in the javascript code:
during the latest update of jquery the createTemplate functions for volumes and snapshots were unified into a shared function without fully abstracting out the entities 'volumes' and 'snapshots'
We can duplicate the function as a quick-fix or put effort into the abstraction. I am choosing the first as the current UI is to be phased out. @andrijapanicsb @rhtyd @rafaelweingartner
I've also seen (probably NOT related, but to mention...) that when you register the template from URL, previously there was a spinning circle just until the template was added to the DB - then you can actually click on it and see it being downloaded etc. In current master when you register the template, the circle is spinning all the time, until the template is actually completely downloaded, which is insane. - not sure if that's also a quick fix...
actually @andrijapanicsb half an hour extra search gave me a location to add a conditional, testing is probably going to be more effort.
What you are saying seems a different location in the code. i'll keep it in mind. Did you create an issue for that already?
Activity
DaanHoogland commentedon Nov 28, 2019
during the latest update of jquery the createTemplate functions for volumes and snapshots were unified into a shared function without fully abstracting out the entities 'volumes' and 'snapshots'
We can duplicate the function as a quick-fix or put effort into the abstraction. I am choosing the first as the current UI is to be phased out.
@andrijapanicsb @rhtyd @rafaelweingartner
andrijapanicsb commentedon Nov 28, 2019
sounds good @DaanHoogland
I've also seen (probably NOT related, but to mention...) that when you register the template from URL, previously there was a spinning circle just until the template was added to the DB - then you can actually click on it and see it being downloaded etc. In current master when you register the template, the circle is spinning all the time, until the template is actually completely downloaded, which is insane. - not sure if that's also a quick fix...
DaanHoogland commentedon Nov 28, 2019
actually @andrijapanicsb half an hour extra search gave me a location to add a conditional, testing is probably going to be more effort.
What you are saying seems a different location in the code. i'll keep it in mind. Did you create an issue for that already?
andrijapanicsb commentedon Nov 28, 2019
No @DaanHoogland, I was lazy...