Moodle

Question import page - broken link

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Questions
  • Labels:
    None
  • Environment:

Description

When logged in as teacher, on qa.moodle.net, I try to import Question files into the "Moodle Features Demo" course, but I get a page not found error when I click on the "Import" tab link (http://qa.moodle.net/question/import.php?courseid=2) on the questions page (http://qa.moodle.net/question/edit.php?courseid=2).

Issue Links

Activity

Hide
Tim Hunt added a comment -

The error is

Notice: Undefined variable: OUTPUT in /html/lib/form/choosecoursefile.php on line 99

Fatal error: Call to a member function add_action_handler() on a non-object in /html/lib/form/choosecoursefile.php on line 99

Looks file-picker related, to reassigning to Dongsheng.

Show
Tim Hunt added a comment - The error is Notice: Undefined variable: OUTPUT in /html/lib/form/choosecoursefile.php on line 99 Fatal error: Call to a member function add_action_handler() on a non-object in /html/lib/form/choosecoursefile.php on line 99 Looks file-picker related, to reassigning to Dongsheng.
Hide
Tim Hunt added a comment -

This may also be indirectly caused by the fact that MDL-16094 is not done yet.

Show
Tim Hunt added a comment - This may also be indirectly caused by the fact that MDL-16094 is not done yet.
Hide
Dongsheng Cai added a comment -

Hi, Tim

The choosecoursefile element doesn't use filepicker.
I did a quick search, question is the only place use the form element, we probably should replace it with filemanager, but MDL-16094 is the blocker.

Show
Dongsheng Cai added a comment - Hi, Tim The choosecoursefile element doesn't use filepicker. I did a quick search, question is the only place use the form element, we probably should replace it with filemanager, but MDL-16094 is the blocker.
Hide
Tim Hunt added a comment -

OK, so making this a duplicate of MDL-16094

Show
Tim Hunt added a comment - OK, so making this a duplicate of MDL-16094

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: