Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Incorrect behavior if PCR test certificate cannot be issued #3784

Description

@fynngodau

Describe the bug

During PCR test retrieval, the Request EU COVID Certificate fragment is shown even if the site doesn’t support them. After requesting, the error that the certificate is not “yet” available is shown. Only once touching Try Again in the certificates tab for the pending certificate, one can read that the testing point does not issue them at all.

For rapid tests, the Request screen is not shown if the certificate is not available.

Steps I performed that lead to this issue

  1. Perform PCR test

  2. Wait until PCR test result is available

  3. Scan CWA QR code

  4. Enter correct DOB on Request Certificate screen

  5. See error message: certificate not available yet

    <string name="error_tc_try_again_dcc_not_available_yet">"Your certificate it not available yet. Please try again. If the error persists, please contact the technical hotline via App Information -&gt; Technical Hotline."</string>

  6. Go to certificates tab

  7. Touch Try Again

  8. See error message: certificate won't be issued, site doesn't support it

    <string name="error_tc_dcc_not_supported_by_lab">"You cannot request a test certificate because this testing point does not support the issuing of test certificates. Please remove the certificate or contact the technical hotline via App Information -&gt; Technical Hotline."</string>

  • PCR Test Result screen displays status "not available yet".
    <string name="submission_test_result_pending_steps_test_certificate_not_available_yet_body">"Your official digital COVID test certificate is not available yet. As soon as it becomes available, it will be displayed in your app."</string>

Expected behaviour

  • Don't show Request certificate screen if no certificate can be generated, like is the case for RATs (if technically possible, otherwise show disclaimer that some labs may not be supported)
  • Show correct error message upon first try
  • Don't store certificate in certificates tab

Internal Tracking ID: EXPOSUREAPP-8543

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmirrored-to-jiraThis item is also tracked internally in JIRA

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions