Index: lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/dbupdates/patch20240127.sql
===================================================================
diff -u
--- lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/dbupdates/patch20240127.sql (revision 0)
+++ lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/dbupdates/patch20240127.sql (revision 00e68ec2b347f409ce1a616f14f2b8ce975829e8)
@@ -0,0 +1,15 @@
+-- Turn off autocommit, so nothing is committed if there is an error
+SET AUTOCOMMIT = 0;
+SET FOREIGN_KEY_CHECKS=0;
+-- Put all sql statements below here
+
+-- LDEV-5360 Allow long marker's comment
+ALTER TABLE tl_laasse10_question_result
+ MODIFY COLUMN marker_comment VARCHAR(3000);
+
+-- Put all sql statements above here
+
+-- If there were no errors, commit and restore autocommit to on
+COMMIT;
+SET AUTOCOMMIT = 1;
+SET FOREIGN_KEY_CHECKS=1;
\ No newline at end of file
Index: lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp
===================================================================
diff -u -r8a4525c7b493856da2b60a94cad2ecb7c1643c40 -r00e68ec2b347f409ce1a616f14f2b8ce975829e8
--- lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp (.../questionsummary.jsp) (revision 8a4525c7b493856da2b60a94cad2ecb7c1643c40)
+++ lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp (.../questionsummary.jsp) (revision 00e68ec2b347f409ce1a616f14f2b8ce975829e8)
@@ -134,7 +134,7 @@
editoptions: {size:4, maxlength: 4}, align:"right", classes: 'vertical-align', title : false},
{name:'marker', index:'marker', width: 80, search:false, title: false},
{name:'markerComment', index:'markerComment', width:300, editable:true, edittype: 'textarea',
- sortable: false, editoptions: {maxlength: 600, rows:"8"}, title : false,
+ sortable: false, editoptions: {maxlength: 3000, rows: 6}, title : false,
formatter:function(cellvalue, options, rowObject, event) {
if (event == "edit") {
cellvalue = cellvalue.replace(/\n/g, '\n
');
Index: lams_tool_assessment/web/pages/monitoring/parts/usersummary.jsp
===================================================================
diff -u -r8a4525c7b493856da2b60a94cad2ecb7c1643c40 -r00e68ec2b347f409ce1a616f14f2b8ce975829e8
--- lams_tool_assessment/web/pages/monitoring/parts/usersummary.jsp (.../usersummary.jsp) (revision 8a4525c7b493856da2b60a94cad2ecb7c1643c40)
+++ lams_tool_assessment/web/pages/monitoring/parts/usersummary.jsp (.../usersummary.jsp) (revision 00e68ec2b347f409ce1a616f14f2b8ce975829e8)
@@ -107,7 +107,7 @@
editoptions: {size:4, maxlength: 4}, align:"right", classes: 'vertical-align', title : false },
{name:'marker', index:'marker', width: 80, title: false},
{name:'markerComment', index:'markerComment', width:300, editable:true, edittype: 'textarea',
- sortable: false, editoptions: {maxlength: 600, rows:"8"}, title : false,
+ sortable: false, editoptions: {maxlength: 3000, rows: 6}, title : false,
formatter:function(cellvalue, options, rowObject, event) {
if (event == "edit") {
cellvalue = cellvalue.replace(/\n/g, '\n
');
Index: lams_tool_assessment/web/pages/monitoring/summary.jsp
===================================================================
diff -u -r8a4525c7b493856da2b60a94cad2ecb7c1643c40 -r00e68ec2b347f409ce1a616f14f2b8ce975829e8
--- lams_tool_assessment/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision 8a4525c7b493856da2b60a94cad2ecb7c1643c40)
+++ lams_tool_assessment/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision 00e68ec2b347f409ce1a616f14f2b8ce975829e8)
@@ -195,7 +195,7 @@
editoptions: {size:4, maxlength: 4}, align:"right", classes: 'vertical-align', title : false },
{name:'marker', index:'marker', width: 80, title: false},
{name:'markerComment', index:'markerComment', width:300, editable:true, edittype: 'textarea',
- sortable: false, editoptions: {maxlength: 600, rows:"8"}, title : false,
+ sortable: false, editoptions: {maxlength: 3000, rows: 6}, title : false,
formatter:function(cellvalue, options, rowObject, event) {
if (event == "edit") {
cellvalue = cellvalue.replace(/\n/g, '\n
');