Warnings when Leap2A self-importing a not empty blog

Bug #1331259 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
New
Undecided
Unassigned

Bug Description

Version: master (1.10)
Platform: any
Browser: any

I got the following warning when importing a not empty blog

  [WAR] ea (artefact/blog/lib.php:864) Undefined index: setlimit
Call stack (most recent first):
log_message("Undefined index: setlimit", 8, true, true, "/home/sonn/code/mahara/master/htdocs/artefact/blog...", 864) at /home/sonn/code/mahara/master/htdocs/lib/errors.php:433
error(8, "Undefined index: setlimit", "/home/sonn/code/mahara/master/htdocs/artefact/blog...", 864, array(size 5)) at /home/sonn/code/mahara/master/htdocs/artefact/blog/lib.php:864
ArtefactTypeBlogPost->render_posts(array(size 5), "artefact:blog:viewposts.tpl", array(size 1), array(size 4)) at /home/sonn/code/mahara/master/htdocs/artefact/blog/lib.php:228
ArtefactTypeBlog->render_self(array(size 0)) at /home/sonn/code/mahara/master/htdocs/artefact/blog/import/leap/lib.php:337
LeapImportBlog::render_import_entry_requests(object(PluginImportLeap)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/sonn/code/mahara/master/htdocs/lib/mahara.php:1562
call_static_method("LeapImportBlog", "render_import_entry_requests", object(PluginImportLeap)) at /home/sonn/code/mahara/master/htdocs/import/leap/lib.php:264
PluginImportLeap->build_import_entry_requests_form() at /home/sonn/code/mahara/master/htdocs/import/index.php:221
print_import_items_form() at /home/sonn/code/mahara/master/htdocs/import/index.php:69

This may be a regression caused by the patch https://reviews.mahara.org/3349

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.