← Back to team overview

mahara-contributors team mailing list archive

[Bug 1927661] Re: Mahara ends up with multiple site 'public' folders

 

** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
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