Non-core contributed modules

Update questionnaire to use new $OUTPUT page library functions

Details

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

Description

Questionnaire is broken in Moodle 2.0

error message:
popup_form() has been deprecated. Please change your code to use $OUTPUT->select($select).

  • line 3281 of \lib\deprecatedlib.php: call to debugging()
  • line 2835 of \lib\weblib.php: call to popup_form()
  • line 140 of \mod\questionnaire\locallib.php: call to navmenu()
  • line 57 of \mod\questionnaire\view.php: call to questionnaire->view()

Issue Links

Activity

Hide
Mike Churchward added a comment -

That error is informational only, and affects pretty much all moduled (including assignment) at this time. There is another change that is breaking it that I will create new issue for. I will downgrade this issue.

Show
Mike Churchward added a comment - That error is informational only, and affects pretty much all moduled (including assignment) at this time. There is another change that is breaking it that I will create new issue for. I will downgrade this issue.
Hide
Mike Churchward added a comment -

Issue is broken by similar change in API. This is the real error this issue originally reported.

Show
Mike Churchward added a comment - Issue is broken by similar change in API. This is the real error this issue originally reported.
Hide
Mike Churchward added a comment -

Need to change all uses of print_header and print_footer to use the new pagelib functions for 2.0.

Show
Mike Churchward added a comment - Need to change all uses of print_header and print_footer to use the new pagelib functions for 2.0.
Hide
Mike Churchward added a comment -

All standard output functions replaced with new $PAGE functions.

Show
Mike Churchward added a comment - All standard output functions replaced with new $PAGE functions.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: