catalyst / moodle-tool_advancedreplace

GNU General Public License v3.0
2 stars 0 forks source link

Need to allow larger names and regex, and also have better form validation #65

Closed brendanheywood closed 1 week ago

brendanheywood commented 1 month ago

Debug info: ERROR: value too long for type character varying(32) INSERT INTO mdl_tool_advancedreplace_search (userid,name,search,regex,prematch,tables,skiptables,skipcolumns,summary,origin,timestart,timeend,progress,matches,timecreated,timemodified,usermodified) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17) RETURNING id [array ( 'userid' => '173241', 'name' => 'doris url with context tag anywhere in assign', 'search' => '<[^>]>https:[^"]doris[^"]*[^>]', 'regex' => '1', 'prematch' => 'doris', 'tables' => 'assign', 'skiptables' => '', 'skipcolumns' => '', 'summary' => 0, 'origin' => 'web', 'timestart' => 0, 'timeend' => 0, 'progress' => 0, 'matches' => 0, 'timecreated' => 1729593189, 'timemodified' => 1729593189, 'usermodified' => '173241', )] Error code: dmlwriteexception