question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Error Log]Chars "DE" are always replaced with "vaccination/certificateCountry"

See original GitHub issue

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • Bug is not already reported in another issue

Technical details

  • Device name: LG G4 (LGH-815)
  • Android version: 6.0
  • App version: 2.6.1

Describe the bug

While trying to debug “some things”, I stumbled upon that error log entry:

2021-08-11T02:24:48.604Z V/DefaultExposureDetectio: Running timeout check (now=2021-08-11T02:24:48.603Z): [TrackedExposureDetection(identifier=3463faf6-6546-4f51-b9eb-85d45fa3af13, startedAt=2021-08-10T06:11:08.298Z, result=NO_MATCHES, finishedAt=2021-08-10T06:11:21.824Z, enfVersion=V2_WINDOW_MOvaccination/certificateCountry), TrackedExposureDetection(identifier=5b5b5d8c-353f-430e-8e9a-fea5312d3773, startedAt=2021-08-10T10:14:46.817Z, result=NO_MATCHES, finishedAt=2021-08-10T10:15:02.430Z, enfVersion=V2_WINDOW_MOvaccination/certificateCountry), TrackedExposureDetection(identifier=6ce6ea79-3fe6-44c8-b41d-1369ab9bf7de, startedAt=2021-08-10T15:17:58.451Z, result=NO_MATCHES, finishedAt=2021-08-10T15:18:13.911Z, enfVersion=V2_WINDOW_MOvaccination/certificateCountry), TrackedExposureDetection(identifier=0927fc48-7831-45a9-a48d-f19ba643841a, startedAt=2021-08-10T19:21:52.010Z, result=NO_MATCHES, finishedAt=2021-08-10T19:22:04.288Z, enfVersion=V2_WINDOW_MOvaccination/certificateCountry), TrackedExposureDetection(identifier=b6702fbe-22ce-430f-ad9f-0e05651d9243, startedAt=2021-08-10T23:24:45.592Z, result=NO_MATCHES, finishedAt=2021-08-10T23:25:01.560Z, enfVersion=V2_WINDOW_MOvaccination/certificateCountry)]

The string that should be “V2_WINDOW_MODE” was “V2_WINDOW_MOvaccination/certificateCountry”. When searching for “vaccination/certificateCountry” in the error log, I found other places, where a “DE” was substituted with “vaccination/certificateCountry”. So, obviously it’s replaced everywhere, where it shouldn’t.

Edit: it only seems to affect uppercase “DE”. Lowercase “de” does not seem to be replaced.

Steps to reproduce the issue

  1. Start an error log.
  2. Search for “vaccination/certificateCountry”
  3. See error

Expected behaviour

“DE” shouldn’t be replaced everywhere.

Possible Fix

Check censor?

Edit: this issue has probably been introduced in 2.3.x, the replaced string has changed in 2.5.1: https://github.com/corona-warn-app/cwa-app-android/blob/2943eff83e919812f9dffd0df2d6644898fa59e1/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/bugreporting/censors/dcc/DccQrCodeCensor.kt#L119-L122

So, it looks like the censor is not only replacing for certificate data here, but everywhere. This issue likely affects other censor replacements for other modules also, when the censor is in general not specific for a module.

Additional context

/CC: @mtwalli


Internal Tracking-ID: EXPOSUREAPP-9075

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vaubaehncommented, Sep 10, 2021

Hi @MikeMcC399 , thanks for checking! ❤️

1reaction
MikeMcC399commented, Sep 10, 2021

@vaubaehn I couldn’t find your exact string when I checked with the 2.9.0 release, however I found several others with V2_WINDOW_MODE, including the following:

2021-09-10T08:29:16.412Z V/TracingStateProvider: latestSubmission: TrackedExposureDetection(identifier=53f1d942-75df-49a6-98c2-229fcae5c918, startedAt=2021-09-10T08:28:17.865Z, result=NO_MATCHES, finishedAt=2021-09-10T08:28:24.212Z, enfVersion=V2_WINDOW_MODE)

where MODE in enfVersion=V2_WINDOW_MODE is now shown correctly. So all is good now with this release! 👍🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Requirement for Proof of COVID-19 Vaccination for Air ... - CDC
Noncitizen nonimmigrants must be fully vaccinated to travel by air to the US. Some categories of noncitizen nonimmigrants are excepted from the requirement ......
Read more >
Digital Vaccine Record FAQs | doh - DC Health
What is a Digital Vaccine Record or DVR? Your COVID-19 Digital Vaccine Record (DVR) is an electronic vaccination record drawn from the data...
Read more >
COVID-19: Proving My Vaccination Status - La Dept. of Health
You can carry your physical vaccination card (HHS/CDC version), which you received at the time you got your shots. If you do so,...
Read more >
Coronavirus (COVID-19) Vaccinations - Our World in Data
Our vaccination dataset uses the most recent official numbers from governments and health ministries worldwide. Population estimates for per-capita metrics ...
Read more >
International Certificate of Vaccination or Prophylaxis (ICVP)
Note: Currently, under International Health Regulations (2005) (IHR), yellow fever (YF) and poliomyelitis are the only vaccinations that can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found