Sometimes it is not possible to delete places

Bug #494902 reported by Morten Jacobsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Fix Released
Critical
Unassigned

Bug Description

Sometimes, when you try to delete a place from the model it is not possible. This persist even when saving the model and reloading it..

It is not clear whether this is a problem in TAPAAL 1.3 or only in the development version..

Attached is a model where no place in the model can be deleted.

Related branches

Revision history for this message
Morten Jacobsen (mortenja) wrote :
Changed in tapn:
status: New → Triaged
milestone: none → 1.4
importance: Undecided → Critical
Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

This seems to be traced back to an error with the query in the model. The xml-file contains an empty malformed query, and the check to test if you are deleting a place used in a query fails. I expect you can see the error, as when you load the file TAPAAL prints to std.err: "No query was specified: [Ljava.lang.StackTraceElement;@3125ee71"

Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

The invalid query that breaks delete of places can be created by presseing New... (query) and the hitting delete. Now press the top of the query list, you will see a query with no name in the top. Press delete to remove this query, deleing of places now works again.

description: updated
summary: - Sometimes it is not possible to delete a place
+ Sometimes it is not possible to delete places
Changed in tapn:
assignee: nobody → Kenneth Yrke Joergensen (yrke)
Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

A fix for this problem has been added to development (203) and trunk versions (r109). Old invalid nets still needs to be fixed.

Changed in tapn:
assignee: Kenneth Yrke Joergensen (yrke) → nobody
status: Triaged → Fix Committed
Changed in tapaal:
status: Fix Committed → 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.