Comment 1 for bug 2038418

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

Based on testing, it seems to also affect when changing marking from history.

Looking in the debugger it seems the markings are saved as empty.

Traced the code back to NetworkMarking.Java line 34-36:

<code>
for (TimedPlace place : tapn.places()) {
    place.resetNumberOfTokens();
}
</code>

Git message is: "Fixed initial markings not updating" changed 2023-04-17.

Removing the change fixes the issue, but will properly bring back the old issue.

This might refer to bugs:
https://bugs.launchpad.net/tapaal/+bug/1988664 or
https://bugs.launchpad.net/tapaal/+bug/2016304

I guess we need to revisit this to find a proper fix.