← Back to team overview

mahara-contributors team mailing list archive

[Bug 1927661] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11754
Committed: https://git.mahara.org/mahara/mahara/commit/d23167fc07c7a95b62b747113d77e5e4539a2155
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit d23167fc07c7a95b62b747113d77e5e4539a2155
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri May 7 13:38:29 2021 +1200

Bug 1927661: Can end up with multiple site 'public' folders

Change-Id: I850b51c4647157fb4de7ae1545cd4d3e125d48d0
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1927661

Title:
  Mahara ends up with multiple site 'public' folders

Status in Mahara:
  Fix Committed

Bug description:
  To test:

  Make sure you have 2 other languages installed so from command line:

  sudo -u www-data php htdocs/admin/cli/sync_langpacks.php -l=es -l=de

  Then create a brand new Mahara site and login

  Check in database:

    select id,title,description from artefact where artefacttype =
  'folder' and institution = 'mahara';

  You should see one row with title = 'public';

  Now change the site's language from English to Spanish in Site options
  form (not the language chooser)

  Then go to Site configuration -> Files page you should see the
  'public' folder

  Click on it then refresh the page

  You now see two 'public' folders with description in each language

  Now change the site's language from Spanish to German in Site options
  form (not the language chooser)

  Then go to Site configuration -> Files page you should see the
  'public' folder

  Click on it then refresh the page

  You now see three 'public' folders with description in each language

  ---------------

  What is needed is some way of recording which is the 'public' folder
  once it's first made and then rename the folder if we set a new site
  language

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


References