* Don't mark a HopObject dirty if added to transient collection.
This is a rather conservative fix for bug 554. http://helma.org/bugs/show_bug.cgi?id=554
This commit is contained in:
parent
9874ec1cd9
commit
033659c8c5
1 changed files with 3 additions and 1 deletions
|
@ -901,7 +901,9 @@ public final class Node implements INode, Serializable {
|
|||
markAs(MODIFIED);
|
||||
}
|
||||
|
||||
if ((node.state == CLEAN) || (node.state == DELETED)) {
|
||||
// TODO this is a rather minimal fix for bug http://helma.org/bugs/show_bug.cgi?id=554
|
||||
// - eventually we want to get rid of this code as a whole.
|
||||
if (state != TRANSIENT && (node.state == CLEAN || node.state == DELETED)) {
|
||||
node.markAs(MODIFIED);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue