Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AqlToDtoParser not validating query correctly #217

Open
6 tasks
danielatomoiaga opened this issue Apr 29, 2021 · 0 comments
Open
6 tasks

AqlToDtoParser not validating query correctly #217

danielatomoiaga opened this issue Apr 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@danielatomoiaga
Copy link
Contributor

danielatomoiaga commented Apr 29, 2021

Configuration information

  • EHRbase version: -
  • openEHR_SDK version: v1.4.0
  • Archie version: -
  • PostgreSQL version: -
  • Java Runtime version: -
  • Operating System version: -

Steps to reproduce

Given this query string:

Select e/ehr_id/value as F1, c0 as F1 from EHR e contains COMPOSITION c0[openEHR-EHR-COMPOSITION.report.v1]

Parse to dto

 new AqlToDtoParser().parse("Select e/ehr_id/value as F1, c0 as F1 from EHR e contains COMPOSITION c0[openEHR-EHR-COMPOSITION.report.v1]");

Actual result

Query is valid

Expected result (Acceptance Criteria)

AqlParseException should be thrown

Definition of Done

  • The defect is checked by an unit or an integration test (Robot)
  • Merge Request approved
  • Unit tests passed
  • Build without errors
  • Release notes prepared
  • No additional runtime warnings
@danielatomoiaga danielatomoiaga added the bug Something isn't working label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant