Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling UpdatableRecord.setValue() twice with the same argument causes the changed flag to be reset to false #945

Closed
lukaseder opened this issue Jul 22, 2012 · 0 comments

Comments

@lukaseder
Copy link
Member

As reported by user Michael:

PersonRecord p = //... select ...
assert p.getName() == "Otto";
p.setName("Max");
p.store();
// Alles OK! UPDATE person SET name='Max' wird ausgefhrt.

Wenn ich nun aber folgendes mache:

PersonRecord p = //... select ...
assert p.getName() == "Otto";
p.setName("Max");
p.setName("Max"); // Kommt bei uns leider vor
p.store();
// Ups! Kein UPDATE!!!

See also #948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant