hpi-swa-lab / SandBlocks-BlocksToTheRescue

Blocks to the Rescue: Live Exploration of an Interactive Environment to Support Education, Construction, and Reflection in Program Design
MIT License
1 stars 0 forks source link

BlockEditor kennt nur Commited Model, sollte aber working copy kennen #159

Closed LeonBein closed 5 years ago

LeonBein commented 5 years ago

Das bezieht sich insbesondere auf die Methode BTRBlockEditor#content. Diese gibt das commited model satt der working copy zurück. Dies führt dazu, dass die Mechanik der unaccepted edits nicht so funktioniert, wie erwartet, da der Wert im update nicht die erwarteten contents sind.

LeonBein commented 5 years ago

Leider ist es noch komplizierter: Der Editor hält eine Referenz auf eine Kopie der Methode. Das bedeutet, der Fehler ist an einer anderen Stelle. Uff ...

LeonBein commented 5 years ago

nvm