← Back to team overview

mahara-contributors team mailing list archive

[Bug 1537912] Re: No login link when "Links and resources" block is present

 

This bug is actually present going back at least to Mahara 1.10,
although it became more evident after we added the
$cfg->showloginsideblock setting in Bug 1434131 for 15.04.

Prior to that, the "Login" link was displayed at the top of the screen
if you're logged-out, you're not on the transient login screen, and
there are no sideblocks on the page. Presumably the coder who originally
wrote that, didn't realize there were situations where you could be
logged out and see sideblocks without also seeing the "Login" sideblock.

In 15.04, it became easier to create this condition, by setting the
$cfg->showloginsideblock to "false", which removes the Login sideblock
everywhere.

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Changed in: mahara/1.10
   Importance: Undecided => High

** Changed in: mahara/1.10
       Status: New => Confirmed

** Changed in: mahara/1.10
    Milestone: None => 1.10.9

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1537912

Title:
  No login link when "Links and resources" block is present

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  When you set the config value to

  $cfg->showloginsideblock = false;

  and you only see the "Login" link at the top rather than the standard
  login box, you don't see the link if you have publicly available
  "Links and resources".

  To replicate:
  1. Add $cfg->showloginsideblock = false; to your config file.
  2. You'll see that you only have a login link at the top right on the homepage and not the login block.
  3. Add a link to the "Links and resources" menu for "Public links and resources" at /admin/site/menu.php
  4. Log out. 

  Expected result: Still see the login link.
  Actual result: No login link. You'll need to go to /?login in order to log into your Mahara site.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1537912/+subscriptions


References