cloudfoundry/cloud_controller_ng

/v3/apps with organization_guids and lifecycle_type leads to Internal Server Error

philippthun opened this issue · 0 comments

Issue

Querying /v3/apps with organization_guids and lifecycle_type leads to a 500 Internal Server Error (UnknownError, An unknown error occurred.).

Steps to Reproduce

cf curl -v '/v3/apps?organization_guids=foo&lifecycle_type=buildpack'

Expected result

No error.

Current result

Logs show a CF-DatabaseError with the following details:

PG::AmbiguousColumn: ERROR: column reference "guid" is ambiguous

Mysql2::Error: Column 'guid' in IN/ALL/ANY subquery is ambiguous