Feedback count for annotations doesn't update until you refresh the page
Bug #1431660 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
As reported on https:/
"When adding feedback, the feedback count is not increased until you refresh the page. We don't have that problem with the comments functionality as comments are left on the artefact details page and not on the portfolio page. This is a minor thing and we could leave it for last to change."
tags: | added: smartevidence |
Changed in mahara: | |
milestone: | 15.04.0 → 15.04.1 |
Changed in mahara: | |
milestone: | 15.04.1 → 15.10.0 |
no longer affects: | mahara/15.10 |
no longer affects: | mahara/16.04 |
no longer affects: | mahara/16.10 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On 15.10 I get the following error message:
[WAR] 45 (artefact/ annotation/ lib.php: 1764) Undefined offset: 0
Call stack (most recent first):
log_ message( "Undefined offset: 0", 8, true, true, "/home/ kristina/ code/mahara/ htdocs/ artefact/ annotat. ..", 1764) at /home/kristina/ code/mahara/ htdocs/ lib/errors. php:441 kristina/ code/mahara/ htdocs/ artefact/ annotat. ..", 1764, array(size 13)) at /home/kristina/ code/mahara/ htdocs/ artefact/ annotation/ lib.php: 1764 eArtefactAnnota tionAnnotationf eedback- >__construct( object( stdClass) , false) at /home/kristina/ code/mahara/ htdocs/ lib/activity. php:69 activity( object( stdClass) , object(stdClass)) at /home/kristina/ code/mahara/ htdocs/ lib/activity. php:42 occurred( "annotationfeed back", object(stdClass), "artefact", "annotation") at /home/kristina/ code/mahara/ htdocs/ artefact/ annotation/ lib.php: 1629 annotation_ feedback_ form_submit( object( Pieform) , array(size 8)) at Unknown:0 user_func_ array(" add_annotation_ feedback_ form_submit" , array(size 2)) at /home/kristina/ code/mahara/ htdocs/ lib/pieforms/ pieform. php:537 >__construct( array(size 11)) at /home/kristina/ code/mahara/ htdocs/ lib/pieforms/ pieform. php:164 :process( array(size 11)) at /home/kristina/ code/mahara/ htdocs/ lib/pieforms/ pieform. php:71 array(size 11)) at /home/kristina/ code/mahara/ htdocs/ artefact/ annotation/ lib.php: 965 eAnnotationfeed back::get_ annotation_ feedback_ for_view( object( ArtefactTypeAnn otation) , object(View), "6140", true, false) at /home/kristina/ code/mahara/ htdocs/ artefact/ annotation/ blocktype/ annotation/ lib.php: 138 typeAnnotation: :render_ instance( object( BlockInstance) ) at Unknown:0 user_func_ array(array( size 2), array(size 1)) at /home/kristina/ code/mahara/ htdocs/ lib/mahara. php:1655 static_ method( "PluginBlocktyp eAnnotation" , "render_instance", object( BlockInstance) ) at /home/kristina/ code/mahara/ htdocs/ blocktype/ lib.php: 942 ce->render_ viewing( false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:2070 >build_ column( 1, 3, false, false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:2024 >build_ columns( 1, false, false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:2009 >build_ rows() at /home/kristina/ code/mahara/ htdocs/ view/view. php:265
error(8, "Undefined offset: 0", "/home/
ActivityTyp
handle_
activity_
add_
call_
Pieform-
Pieform:
pieform(
ArtefactTyp
PluginBlock
call_
call_
BlockInstan
View-
View-
View-
----------------
It also doesn't display the Feedback count.
Robert fixed something that might be similar: Wall posts were also not showing until you refreshed the page.