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

Editing external blog throws exception

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-45562-master
    • Hide

      Testing should be performed in both cases: with the setting usetags enabled and disabled (search for 'usetags' in the Site administration search field to find it).

      1. Visit My profile settings -> Blogs -> Register an external blog.
      2. Complete the form (example feed to use is http://linuxtugaz.wordpress.com/feed/) and click save.
      3. Click on the 'Edit' icon.
      4. Edit the details of the blog (if usetags is enabled add some tags) and click save.
      5. Edit the blog again and ensure the changes exist and no error message is displayed.
      Show
      Testing should be performed in both cases: with the setting usetags enabled and disabled (search for 'usetags' in the Site administration search field to find it). Visit My profile settings -> Blogs -> Register an external blog. Complete the form (example feed to use is http://linuxtugaz.wordpress.com/feed/ ) and click save. Click on the 'Edit' icon. Edit the details of the blog (if usetags is enabled add some tags) and click save. Edit the blog again and ensure the changes exist and no error message is displayed.
    • 8
    • BACKEND Sprint 14

      Register an external blog.
      Click on "edit cog", change something and try to save.

      Reproduced on 2.7, pretty sure the same will be in previous versions

      Invalid user
       
      More information about this error
      Debug info: SELECT id FROM {user} WHERE id IS NULL AND deleted = ?
      [array (
      0 => 0,
      )]
      Error code: invaliduser
      Stack trace:
       
          line 1451 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
          line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
          line 6404 of /lib/accesslib.php: call to moodle_database->get_record()
          line 107 of /blog/external_blog_edit.php: call to context_user::instance()
       
      Output buffer: <br /> <b>Notice</b>: Undefined property: stdClass::$filtertags in <b>/home/marina/repositories/int_master/moodle/blog/external_blog_edit.php</b> on line <b>102</b><br /> <br /> <b>Notice</b>: Undefined variable: newexternal in <b>/home/marina/repositories/int_master/moodle/blog/external_blog_edit.php</b> on line <b>107</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>/home/marina/repositories/int_master/moodle/blog/external_blog_edit.php</b> on line <b>107</b><br /> 
      

            lameze Simey Lameze
            marina Marina Glancy
            Mark Nelson Mark Nelson
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.