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

Conversation

@jakobmoellerdev
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev commented Sep 9, 2020

Signed-off-by: d067928 [email protected]

This is done to ensure we do not submit files with remaining files after a failure is cleared in the Download Cache. Testable by provoking a download failure and not seeing exposure checks anymore as well as an IOException wrapped by a Transaction Exception if done in foreground

@jakobmoellerdev jakobmoellerdev requested a review from a team September 9, 2020 13:07
@jakobmoellerdev jakobmoellerdev force-pushed the fix/throw-exception-for-failure-in-key-retrieval branch from 01153fc to 46eba10 Compare September 9, 2020 13:33
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@harambasicluka harambasicluka merged commit bae3e62 into dev Sep 9, 2020
@harambasicluka harambasicluka deleted the fix/throw-exception-for-failure-in-key-retrieval branch September 9, 2020 13:48
jakobmoellerdev added a commit that referenced this pull request Sep 9, 2020
…the Transaction (EXPOSUREAPP-2405) (#1134)

* Throw Exception in case we have a failed entry to ensure Abortion of the Transaction.

Signed-off-by: d067928 <[email protected]>

* Adjust test to not expect call to clear cache files

Signed-off-by: d067928 <[email protected]>
harambasicluka added a commit that referenced this pull request Sep 17, 2020
* New Scan Confirmation Texts Change (EXPOSUREAPP-2427) (#1097)

Co-authored-by: harambasicluka <[email protected]>
Co-authored-by: Jakob Möller <[email protected]>

* New Strings for Risikobegegnung mit niedrigem Risiko (EXPOSUREAPP-2462) (#1106)

* + new strings

* let the app not crash on other languages than DE

* values for lint and tests

* made bad test a comment

* removed unnecessary strings

* more string fixes

Co-authored-by: Jakob Möller <[email protected]>
Co-authored-by: Luka Harambasic <[email protected]>

* Remove Cache Clearing to reduce CDN load on failing devices (EXPOSUREAPP-2405) (#1108)

* Remove Cache Clearing to reduce CDN load on failing devices. This ideally needs to be accompanied by a way to clear the cache manually and a way to identify more root causes of Transaction Failures.

Signed-off-by: d067928 <[email protected]>

* Remove Files that failed for Key Retrieval

Only Remove Files from Cache that failed to download, instead of every file. This is accompanied ideally by no rollback in the Key Retrieval. We only delete the cache ref, the file will not be deleted as it is considered not present

Signed-off-by: d067928 <[email protected]>

* Introduce dedicated QuotaCalculator for Unit Testing

Signed-off-by: d067928 <[email protected]>

* Refactor QuotaCalculator for LocalData Property Access and Write Tests

Signed-off-by: d067928 <[email protected]>

* Use Instant on the Device Read since this is not timezone specific

Signed-off-by: d067928 <[email protected]>

* Add specific state for the quota calculation and dedicated rollback

Signed-off-by: d067928 <[email protected]>

* PR Comments

Signed-off-by: d067928 <[email protected]>

* Feature: Update low risk string (EXPOSUREAPP-1971) (#1125)

* Improve Explanation for "Risikobegegnung mit niedrigem Risiko" (EXPOSUREAPP-1971) (#1112)

* Adapt QuotaCalculatorTest to old JUnit4 API

Signed-off-by: d067928 <[email protected]>

* [INTERNAL] Translation delivery: commit by LX Lab (#1132)

Change-Id: Ib76a9ea2b03163a05dd8b6acf2179262f9bcf5bf

* Removed ar & ru and updated defaults (#1133)

* Throw Exception in case we have a failed entry to ensure Abortion of the Transaction (EXPOSUREAPP-2405) (#1134)

* Throw Exception in case we have a failed entry to ensure Abortion of the Transaction.

Signed-off-by: d067928 <[email protected]>

* Adjust test to not expect call to clear cache files

Signed-off-by: d067928 <[email protected]>

* version bump to 1.3.1

* Reverted replaced wording (EXPOSUREAPP-2638) (#1153)

* Fix: No exposure with low risk so far

* Fixed klint issues (#1144)

* restored reverted replaced wording for lint

* #1153 (comment)

* fixed term

* Align TestFragment Crash behavior with background transaction crash behavior.

* Add logging mechanism to debug hotfix issue.

* Lint Resolvement, Nav Graph Issue clean, Enable Log for deviceForTesters, Correct Quota Tests due to now lacking exception

Signed-off-by: d067928 <[email protected]>

Co-authored-by: Philipp Woessner <[email protected]>
Co-authored-by: Jakob Möller <[email protected]>
Co-authored-by: Rituraj Sambherao <[email protected]>
Co-authored-by: harambasicluka <[email protected]>
Co-authored-by: chris-cwa <[email protected]>
Co-authored-by: Luka Harambasic <[email protected]>
Co-authored-by: SAP LX Lab Service Account <[email protected]>
Co-authored-by: Matthias Urhahn <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants