Ticket #1373 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

home page view does not react to logging in / out

Reported by: shevski Owned by:
Priority: minor Milestone: ckan-sprint-2011-11-07
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by shevski) (diff)

Either: thedatahub.org does not display 'add a dataset' top navigation link or the 'create dataset' main central link to logged in user - instead showing 'sign up' link in the central box. It does however display the 'my account' and 'logout' link in the top right correctly.

Navigating to another part of the site (e.g. search or about or my account) does bring the 'add a dataset' navigation link back and the functionality works.

Works fine on test.ckan.net so only on thedatahub.

Not obviously a caching problem, since I did try clearing cache.

OR: it displays as if you're logged in even when you log out. The links doesn't work and prompt you to log in though.

Change History

comment:1 Changed 3 years ago by shevski

Apparently works locally for David Raznick on default

comment:2 Changed 3 years ago by shevski

  • Owner zephod deleted
  • Status changed from new to assigned

comment:3 Changed 3 years ago by shevski

  • Description modified (diff)
  • Summary changed from no link to add packages from home page for logged in user to home page view does not react to logging in / out

comment:4 Changed 3 years ago by shevski

  • Priority changed from major to minor
  • Description modified (diff)

comment:5 Changed 3 years ago by dread

I think this is due to the etags cache not taking into account whether you are logged in. So the page is cached by squid (which is why it's not seen anywhere apart from thedatahub.org).

comment:6 Changed 2 years ago by dread

  • Status changed from assigned to closed
  • Resolution set to fixed

Squid force caching is now turned off on the main page, and etags sorted out in #1388.

Note: See TracTickets for help on using tickets.