Coder Social home page Coder Social logo

Comments (5)

dclarizio avatar dclarizio commented on July 29, 2024

From @agrare on January 19, 2017 16:36

Thanks for the bug report @kruge002 !

I was able to reproduce this and I suspect it is a UI issue.

This is the error on upstream/master:

[----] F, [2017-01-19T11:27:07.810357 #32231:2ad497fc0ae4] FATAL -- : Error caught: [ActionView::Template::Error] Couldn't find Snapshot with 'id'=2
/var/lib/gems/2.3.0/gems/activerecord-5.0.1/lib/active_record/core.rb:173:in `find'
/home/agrare/.bundle/ruby/2.3.0/manageiq-ui-classic-90608b7beb94/app/views/vm_common/_snapshots_desc.html.haml:5:in `__home_agrare__bundle_ruby_______manageiq_ui_classic______b_beb___app_views_vm_common__snapsho
/var/lib/gems/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:159:in `block in render'

If we look at https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/views/vm_common/_snapshots_desc.html.haml#L5

It is trying to find the previous snapshot that you had selected: selected_id = Snapshot.find(session[:snap_selected]) but the snapshot that you had selected is now removed from the db.

Assigning to the UI team.

from manageiq-ui-classic.

dclarizio avatar dclarizio commented on July 29, 2024

@ZitaNemeckova please take a look when you get a chance. I don't think we need a BZ as it's an edge condition that has a workaround (page refresh). Thx, Dan

from manageiq-ui-classic.

kruge002 avatar kruge002 commented on July 29, 2024

A page refresh is no workaround in this case. You have to logout and login again so "solve" the issue.

from manageiq-ui-classic.

ZitaNemeckova avatar ZitaNemeckova commented on July 29, 2024

@dclarizio I have problem with deleting snapshot. Delete is initialized but never finished. If I delete it in code it deletes its children.

from manageiq-ui-classic.

ZitaNemeckova avatar ZitaNemeckova commented on July 29, 2024

Solved #183 .

from manageiq-ui-classic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.