no error saving simulation to nonexistent file

Bug #499254 reported by Václav Šmilauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
High
Unassigned

Bug Description

Saving simulation to nonexistent file such as O.save('/nonsense.xml'), but contrary to expectations, the out.good() check in IOFormatManager::saveToFile doesn't probably check what it is expected to. Saving reports no error at all, but reloading the simulation subsequently causes crash (O.reload()).

Find way to check the boost::iostreams sink that it is really writable.

Related branches

Changed in yade:
importance: Undecided → High
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

fixed in r2019

Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.