ERR_CODE_ILLEGAL_PARAMS is returned when there is no such key

Bug #702399 reported by Kostja Osipov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Fix Released
Low
Damien Lefortier

Bug Description

When a query is correctly formulated, but refers to a non-existing object, object-specific error should be returned, rather than ER_ILLEGAL_PARAMS, which is used for any kind of malformed packet. Introduce a separate error message and return it when trying to access a key that is not defined in the namespace.

Kostja Osipov (kostja)
summary: - ER_ILLEGAL_PARAMS is returned when there is no such key
+ ERR_CODE_ILLEGAL_PARAMS is returned when there is no such key
Changed in tarantool:
status: New → Confirmed
importance: Undecided → Wishlist
importance: Wishlist → Low
Kostja Osipov (kostja)
Changed in tarantool:
milestone: none → 1.3.5
Kostja Osipov (kostja)
Changed in tarantool:
assignee: nobody → Damien Lefortier (damien-lefortier)
Changed in tarantool:
status: Confirmed → In Progress
Revision history for this message
Kostja Osipov (kostja) wrote :

Pushed into master-stable.

Changed in tarantool:
status: In Progress → Fix Committed
Kostja Osipov (kostja)
Changed in tarantool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.