Skip to content

Error when doing Advanced Querying  #18

Open

Description

@ron404

GET request
"http://localhost:3000/app/advance/books?qry=SELECT name , author&sort=name"
throws the following error

TypeError: Cannot read property 'trim' of undefined
at Object.module.exports.handleAdvanceQueryModelGet (C:\Users\Downloads\nodegrid-master\nodegrid-master\core\services\query_services.js:30:51)
at C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\core\end_points\query_end_points.js:19:23
at callbacks (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:161:37)
at param (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:135:11)
at param (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:132:11)
at pass (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:142:5)
at Router._dispatch (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:170:5)
at Object.router (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\lib\router\index.js:33:10)
at next (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\node_modules\connect\lib\proto.js:190:15)
at next (C:\Users\Rohan\Downloads\nodegrid-master\nodegrid-master\node_modules\express\node_modules\connect\lib\proto.js:165:78)

Activity

  1. self-assigned this
    on Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions