Moodle

Mnet: notice into peer services page + save redirect to wrong page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: MNet
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

1. into the peers services page I've got an error:
Notice: Undefined property: stdClass::$mnet_rpcdebug in /Users/jerome/Sites/Moodle_HEAD/moodle/mnet/lib.php on line 527

2. Press save button => Moodle displays a page that display header before the redirection (need to be fixed) and the redirection is a wrong url (my site is currently http://jerome.moodle.local/~jerome/Moodle_HEAD_mnet/moodle/admin/mnet/services.php?hostid=3 and I'm redirected to http://jerome.moodle.local/admin/mnet/services.php?hostid=3)

Activity

Hide
Penny Leach added a comment -

oh, that's my fault, I thought redirect() detected a url starting with / and added $CFG->wwwroot to the start.

Show
Penny Leach added a comment - oh, that's my fault, I thought redirect() detected a url starting with / and added $CFG->wwwroot to the start.
Hide
Jerome Mouneyrac added a comment -

no problem Penny

Show
Jerome Mouneyrac added a comment - no problem Penny
Hide
Penny Leach added a comment -

can you check this one please jerome ?

Show
Penny Leach added a comment - can you check this one please jerome ?
Hide
Jerome Mouneyrac added a comment -

retested, all good.

Show
Jerome Mouneyrac added a comment - retested, all good.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: