Ghost syllabus depending on the page (Unison)

Hi,

A Syllabus tab appears on the Unison track (which has no syllabus that I know of) from the Overview tab but not from the other tabs. Illustration below. :point_down:

From the Overview page:

From the Exercises page:

image

It points to Unison on Exercism but redirects to Unison on Exercism.

I checked on a different track without syllabus (Pharo) and there is no problem there. So, it seems to be Unison specific.

2 Likes

Also reported here: Unison Syllabus tab is visible but shouldn't be

2 Likes

Weird! I’ll have a look

2 Likes

The header is cached, @ErikSchierboom . I imagine it’s cached the admin version on one page. We’ll need some exception guard for this.

1 Like

@iHiD The header is cached as follows:

= cache "track/#{track.id}/header/#{user_signed_in?}/#{external}/#{practice_mode}/#{selected_tab}/#{track.updated_at.to_i}/#{Time.zone.today}" do

I would have expected the #{track.updated_at.to_i} part to handle the syllabus/non-syllabus part.

1 Like