There were a few more places where we needed to fix up 'goto' URLS for
sites in subdirectories - including some administration forms - they
were added to the patch and merged

As some of the problems cause User experience issues for normal users
I'll mark this bug as high and backport to supported branches as well

** Changed in: mahara
   Importance: Medium => High

** Changed in: mahara
    Milestone: 20.10.0 => None

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

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

** Also affects: mahara/20.10
   Importance: High
     Assignee: Lisa Seeto (lisaseeto)
       Status: In Progress

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

** Changed in: mahara/20.10
    Milestone: None => 20.10.0

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

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

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

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

** Changed in: mahara/20.04
    Milestone: None => 20.04.1

** Changed in: mahara/19.10
    Milestone: None => 19.10.4

** Changed in: mahara/19.04
    Milestone: None => 19.04.6

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

Title:
  Wrong redirect when creating Pages when Mahara is in a subdir

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  New
Status in Mahara 19.10 series:
  New
Status in Mahara 20.04 series:
  New
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  Referencing Bug #1843537
  (https://bugs.launchpad.net/mahara/+bug/1843537)

  In Mahara 20.04 this Bug seems to affect the creation of pages.

  When trying to create a new page while Mahara is installed in a
  subdirectory (https://dns/mahara), after saving the newly created page
  it is created successfully but the user is redirected to an error page
  because wwwroot is missing.

  The problem seems to be in:
  mahara/htdocs/view/editlayout.php in Line 441 

  Much like in the CSV Upload error it does not include the root
  directory

  The original:
  redirect('/view/blocks.php?id=' . $view->get('id'));

  Ammended:
  redirect(get_config('wwwroot') . 'view/blocks.php?id=' . $view->get('id'));

  After changing this, the saving progress redirects to the correct
  page.

  
  Greetings from Germany,

  Philippe

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to