Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47682

parental access to blog entry causes Error:invalidcommentparam

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: Blog
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Moodle 2.7.2, Debian Wheezy, MySQL. Local testing server.

      After adding the parent role, following the documentation, adding the parent to the child's user context, then attempting to view child's blog entry the following error occurs:

      Debug info:
      Error code: invalidcommentparam
      Stack trace:

      line 866 of /comment/lib.php: comment_exception thrown
      line 875 of /comment/lib.php: call to comment->validate()
      line 415 of /comment/lib.php: call to comment->can_view()
      line 215 of /blog/renderer.php: call to comment->output()
      line 221 of /lib/outputrenderers.php: call to core_blog_renderer->render_blog_entry()
      line 749 of /blog/locallib.php: call to plugin_renderer_base->render()
      line 223 of /blog/index.php: call to blog_listing->print_entries()

      I'll have a quick look myself and see if I can add any more useful info.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            richardnz Richard Jones
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: