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.

Truncated text output (Data Sharing information)

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: Google Pixel 3a emulator
  • Android version: 11
  • App version: 2.1.2 (and 2.2.1-RC0 and 2.3.0-RC0) Display font size and Display size both set to Default

Describe the bug

In Share Data, “Detailed Information about This Data Processing and Data Protection Risks in the U.S. and Other Third Countries”, “Detailed Information about Data Sharing” the string onboarding_ppa_more_info_rki_data_point_5_text

<string name="onboarding_ppa_more_info_rki_data_point_5_text">“Information about whether you received a positive or negative test result through the app.”</string>

is displayed truncated in the app. Depending on the display size and settings, a truncated string such as “Information about whether you received a pos” may be output.

Steps to reproduce the issue

  1. Open CWA
  2. Tap three-dot icon
  3. Tap Settings > Share Data
  4. Scroll down to bottom “Detailed Information about This Data Processing and Data Protection Risks in the U.S. and Other Third Countries” and tap on this string.
  5. In “Detailed Information about Data Sharing” scroll down to section “To this end, the RKI collects the following data:” and further to sub-section “If you have retrieved a test result through the app:”
  6. The next bullet point is displayed as “Information about whether you received a pos”

Truncated 2 1

Expected behaviour

The full text of string onboarding_ppa_more_info_rki_data_point_5_text “Information about whether you received a positive or negative test result through the app.” should be displayed.

Possible Fix

Modify layout of Corona-Warn-App/src/main/res/layout/fragment_ppa_more_info.xml TextView android:id=“@+id/rki_data_point_5_text”

https://github.com/corona-warn-app/cwa-app-android/blob/595ab630dfad5ac1e29021c084c400054193a498/Corona-Warn-App/src/main/res/layout/fragment_ppa_more_info.xml#L324-L329


Internal Tracking ID: EXPOSUREAPP-7202

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
fynngodaucommented, May 10, 2021

@MikeMcC399 From a quick look, your suggestion is correct; feel free to submit yourself. It was actually me who overlooked this when changing the layout lately, sorry for any inconvenience.

1reaction
dsarkarcommented, May 10, 2021

@MikeMcC399 Thanks. Internal Tracking ID: EXPOSUREAPP-7202

Read more comments on GitHub >

github_iconTop Results From Across the Web

12.4 Truncate text output | R Markdown Cookbook - Bookdown
The basic idea of the above hook function is that if the number of lines of the text output is greater than the...
Read more >
Output Data Node Truncating String Fields - Alteryx Community
Guys - as a new user I am having major issues with Alteryx. First is the caching of previous query results now when...
Read more >
Silent Data truncation in SQL Server 2019 - SQLShack
Truncated value: '%. *ls'. This error message highlights clearly the table name, column name, and the truncated value in SQL Server 2019. ...
Read more >
Exporting query grid multi-line string field data gets truncated ...
When you use the Export Grid function, output appears to be truncated. Symptom. When you use the Export Grid function of the ClearQuest...
Read more >
Text was truncated or one or more characters had no match in ...
The data conversion for column "recipient-name" returned status value 4 and status text "Text was truncated or one or more characters had no...
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