Page MenuHomePhabricator

[Bug] Featured article widget unable to load
Closed, ResolvedPublic

Description

Failure of regression test case rows 185 & 186 (Featured article widget tests)

Build: 6.3 (1642)
Device: iPad Air 2
OS: iOS 12.1

Expected behavior: Featured article widget appears, tapping it navigates to the correct article.

Actual behavior: Featured article widget shows "Unable to load" (see screencap

), tapping does not navigate to article

Event Timeline

JMinor updated the task description. (Show Details)

I think this is the same thing in this OTRS report:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=11111935
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=11111941

Version: WikipediaApp/6.2.3.1612 (iOS 12.3.1; Phone)

Presumably the user's language is German.

The API response for that day (tickets filed on 07/01/2019) didn't include a featured article - https://de.wikipedia.org/api/rest_v1/feed/featured/2019/07/01 ("tfa") even though German Wikipedia did feature an article on that day https://de.wikipedia.org/wiki/Wikipedia:Hauptseite/Artikel_des_Tages/Chronologie_2019 ("01.07.2019 Kerala").

If we can't show today's featured article, we fall back on older featured articles. In this case, older responses don't include featured article so there's nothing to show. I filed T227332.

JMinor lowered the priority of this task from High to Medium.Jul 8 2019, 6:42 PM

Build: 6.3 (1643)
Device: iPad mini 2 (it was a mini, not an Air, that I had been using for this ticket and for smoke testing)
OS: iOS 12.3.1

Expected behavior: Featured article widget appears, tapping it navigates to the correct article.

Actual behavior: @JMinor @NHarateh_WMF @ABorbaWMF According to the attached screencaps it is now fixed and working as expected.

Per our grooming discussion, lets update the error state a bit. So, if no Featured article is available for that day, lets use the same presentation we use when there is no continue reading article. The (localizable) message should say "No Featured article available today"

Per discussion, copy should be sentence cased as "No featured article available today"