This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 366
Error when updating record - Error 501 #259
Comments
The error indicates that a parametrized query is executed without all parameters having been specified. Do you have such queries in your code? |
We have parameterized queries and we follow the following pattern. Even this simple update throws the same error. var t = this._tagTable;
var q = db.
update(t).
set(t._mode, lf.bind(1)).
where(t.seq.eq(lf.bind(0)));
q.bind([seq, mode]).exec(); |
Can you post complete code snippet? I run the following code based on the TODO demo with no problem.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When we update records we always see the following error message in the console.
Error: http://google.github.io/lovefield/error_lookup/src/error_lookup.html?c=501
But the strange thing is after few edit efforts(few times of edits) error message won't appear afterward. Everything is working as expected. But with the initial page load, we always see the error message in the console.
Even with the above error message record is successfully getting updated as expected.
Please advise on any clue on how to proceed with this.
Thanks.
Thusitha
The text was updated successfully, but these errors were encountered: