Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.6.4
-
Fix Version/s: Unscheduled
-
Component/s: CiviCRM API
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Steps followed:
- Create an organization with name "ACME Volunteers Selection"
- Open the API Explorer
- Entity: Contact
- Action: get
- Parameter: Organization Name = "ACME Volunteers Selection"
- Execute
Expected result:
The API explorer returns the organisation
Actual Result:
{ "error_code":0, "entity":"Contact", "action":"get", "is_error":1, "error_message":"invalid string" }
Problem code:
line 833 of api/v3.php checks if the value contains the word "SELECT", and if so throws the error.