DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-732
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Daniel Baldes
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Wrong parameter count error message is wrong

Created: 30/Jun/11 09:53 AM   Updated: 01/Aug/11 10:23 AM   Resolved: 02/Jul/11 12:13 PM
Component/s: None
Affects Version/s: 3.0.0.m5
Fix Version/s: 3.0.0.m6

File Attachments: 1. Text File parameter.patch (0.8 kB)

 Description  « Hide
org.datanucleus.exceptions.NucleusUserException: Query requires 2 parameters, yet 2 values have been provided.

The message should read "Query requires 3 parameters, yet 2 values have been provided" (in this case).

Patch follows.

Daniel Baldes added a comment - 30/Jun/11 09:53 AM
Attached patch fixes the error message in trunk / 3.0.0m6

Daniel Baldes made changes - 30/Jun/11 09:53 AM
Field Original Value New Value
Attachment parameter.patch [ 11474 ]
Andy Jefferson added a comment - 02/Jul/11 12:13 PM
SVN trunk has this. thx

Andy Jefferson made changes - 02/Jul/11 12:13 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.0.m6 [ 11266 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Aug/11 10:23 AM
Status Resolved [ 5 ] Closed [ 6 ]