"single" method returns empty exception description on empty list

Bug #1586394 reported by omar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
YAQL
In Progress
Undecided
omar

Bug Description

To reproduce:
yaql> [].first()
or
yaql> [].last()
or
yaql> [].single()

Expected result:
Exception contains information on why it happened

Actual result: empty generic exception is raised
Execution exception:

omar (oshykhkerimov)
Changed in yaql:
assignee: nobody → omar (oshykhkerimov)
omar (oshykhkerimov)
description: updated
Changed in yaql:
status: New → Confirmed
omar (oshykhkerimov)
summary: - "single" method returns empty excpetion description on empty list
+ "single" method returns empty exception description on empty list
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to yaql (master)

Fix proposed to branch: master
Review: https://review.openstack.org/322251

Changed in yaql:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on yaql (master)

Change abandoned by Omar Shykhkerimov (<email address hidden>) on branch: master
Review: https://review.openstack.org/322251
Reason: Alexander, thank you! Agree with you and will work on ideas how to fix it further.

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.