-
Notifications
You must be signed in to change notification settings - Fork 283
Make sure all EN-Erros link to the FAQ page correctly #1998
Comments
@Ein-Tim did you actually see this popup? If yes: do you know if the corresponding risk check was triggered from background or foreground? |
Thanks @Ein-Tim. |
@ndegendogo @Ein-Tim |
@dsarkar ENError 14 is triggered if a MDM is preventing CWA to use the ENF/the ENF is deactivated by a MDM. But it's all a bit tricky because some ENErorrs are also hidden from the user, others aren't but the most common (13, 11 and 5) seem to work correctly (but not sure about that). |
@Ein-Tim Ok. ENError13 ( API was called too often ), I think one could trigger it: At the end of the day, after 4-6 checks, reset app several times (or re-install). So we could check at least that one. |
@dsarkar Yes, I triggered this yesterday and it seemed to work. It's only about the Erros which don't have a own FAQ entry. This should best be tried out by the devs. |
@Ein-Tim ok |
I can reproduce it with 1.12.1. (simulator / community build, mock locally modified for error behaviour). Root cause is here. Three specific error codes are extended with an URL to the corresponding FAQ, but the default gets no URL. I guess it should use one of the other URLs here, else the list of URLs to be extended. |
@ndegendogo @Ein-Tim Thanks for reporting and analyzing! Internal Tracking ID: EXPOSUREAPP-5223 |
@dsarkar please ask the devs what is the fastest way to get this fix in. |
@ndegendogo They are working already on it as far as I can see in the ticket. However, I will forward your generous offer and suggest the developer contacting you here on this issue if this is applicable and/or practical for the devs. |
@dsarkar Thanks! @ndegendogo I will leave this issue open until Version 1.13 is released, maybe you would like to test this via the emulator again then? Thank you so much for you help here! 👍 |
Wow - this is fast 🚀 amazing 😀 @dsarkar Please tell the devs! But then ... I have another question - not sure if I should open a new ticket or can just append here? Actually, in the same file there is another, very similar extension @dsarkar could you please give the developers the hint to double-check that? (sorry - I should have mentioned it in the first place ... but it was already a bit late yesterday ...) |
EDIT: This is just an explanatory comment, we will still try to work someting out with the devs From the perspective of the FAQ it's not necessary to make an FAQ entry for every error type. In general, these errors should be caught and handled internally (e.g. try again in case of submission). Most of them are not meant to be shown to the user. And if they are, the app should show it's own user-friendly error message. If the error is still shown to a lot of users, we will make an FAQ entry of course. However, chances are we are mirroring the Apple FAQ's if we do this preemptively for every error. Corona-Warn-App Open Source Team |
@heinezen no problem. I have meanwhile analysed the source myself, and as far as I see all is fine. ExposureSubmissionCoordinator.showErrorAlert adds the 'More Info' button only if the error has an URL, so the user gets the popup with just one button in the 'default' case, which is fine. This is different with AppDelegate.makeAlertController, which always adds a second button. (And a button which promises 'More info' but does not fulfill this promise is at least surprising.) |
@ndegendogo regarding your comment #1998 (comment), I forwarded both, your question and your amazement to the developer. |
@ndegendogo This is the correct answer to your question about the |
Version 1.13 which fixed this has been released to GitHub and will be available to all users in the next 48h. See blog post: DE: https://www.coronawarn.app/de/blog/2021-03-04-corona-warn-app-version-1-13/ See GitHub release: iOS: https://github.com/corona-warn-app/cwa-app-ios/releases/tag/v1.13.0 This issue will now be closed. |
@Ein-Tim Thanks! |
Avoid duplicates
Technical details
Describe the bug
I have some indication that ENError-Pop ups do not correctly link to the
General_moreInfo_URL
defined incwa-app-ios/src/xcode/ENA/ENA/Resources/Localization/en.lproj/Localizable.links.strings
Line 13 in 11e3e10
Instead, if the user clicks "Mehr Erfahren", nothing happens but the pop-up closes. I can't confirm this myself, since it is not easy to reproduce such errors.
I think that this does not affect, the separately defined, ENErrors 5, 11 and 13.
Steps to reproduce the issue
Expected behaviour
The FAQ website should be opened.
Related Issue
Internal Tracking ID: EXPOSUREAPP-5223
The text was updated successfully, but these errors were encountered: