Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Scanning luca QR code with CWA results in "undefined" #741

Closed
3 tasks done
Ein-Tim opened this issue Nov 9, 2021 · 6 comments
Closed
3 tasks done

Scanning luca QR code with CWA results in "undefined" #741

Ein-Tim opened this issue Nov 9, 2021 · 6 comments
Labels
bug Something isn't working luca

Comments

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 9, 2021

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:
  • Bug is not already reported in another issue

Technical details

  • Device name: iPhone 6s & Huawei P Smart 2019
  • iOS/Android version: 15.1 & 10
  • App version: 2.13.1 & 2.13.2

Describe the bug

Scanning a luca QR code with the CWA results in this:

Steps to reproduce the issue

  1. Scan a luca QR code with the CWA
  2. See that everything is "undefined"

Expected behaviour

The CWA should show the information taken from the luca QR code.

Additional context

Is this what happens if one scans a luca QR code which was generated before 25.05.2021?

@Ein-Tim Ein-Tim added the bug Something isn't working label Nov 9, 2021
@cwa-bot cwa-bot bot added this to ToDo in [CM] cwa-documentation Nov 9, 2021
@JonasDeichelmann
Copy link

In the Luca App the QR Code is working correctly.

@thomasaugsten
Copy link
Member

We also saw Luca codes like this. But there is really the word undefined encoded. If you decode the base64 part after /CWA1/ you can see this.

@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Nov 9, 2021

@thomasaugsten

Ah okay... Thank you! I decoded the part and yes, it shows "undefined".

Than this is an issue on luca side and I will close this issue.

@Ein-Tim Ein-Tim closed this as completed Nov 9, 2021
@cwa-bot cwa-bot bot moved this from ToDo to Done in [CM] cwa-documentation Nov 9, 2021
@cwa-bot cwa-bot bot moved this from Done to ToDo in [CM] cwa-documentation Nov 9, 2021
@Ein-Tim
Copy link
Contributor Author

Ein-Tim commented Nov 9, 2021

FYI: There's an issue for this in the luca GitLab now: https://gitlab.com/lucaapp/cwa-event/-/issues/1

@Ein-Tim Ein-Tim reopened this Nov 9, 2021
@Ein-Tim Ein-Tim closed this as completed Nov 9, 2021
@cwa-bot cwa-bot bot moved this from ToDo to Done in [CM] cwa-documentation Nov 9, 2021
@viisauksena
Copy link

viisauksena commented Nov 10, 2021

there is also the related issue, where Luca uses hardcoded 120 min for the QR Codes,
even if you choose other timings for the QR Code related location/event. This is bogus for short shopping in bakerys or longer workshops/workdays.
see: https://gitlab.com/lucaapp/web/-/blob/master/services/locations/src/utils/qrCodeData.js
(there is also the undefined part)

  • these are all things which has to be fixed by luca team, also there has to be a lot of regenerating/reprinting all the non-valid/bogus QR codes.

@MikeMcC399
Copy link
Contributor

See also https://gitlab.com/lucaapp/web/-/issues/31 "undefined in QR Codes erzeugt" where it says:

"... wir haben den Fix hierfür schon vorbereitet und er ist im nächsten Release.
Das Release 2.5 ist momentan noch in der QA Phase und wird getestet.
Sobald die Tests positiv abgeschlossen sind, werden wir den Fix mit deployen ..."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working luca
Development

No branches or pull requests

6 participants