← Back to team overview

mahara-contributors team mailing list archive

[Bug 864926] [NEW] submitting tags over 128 characters throws postgres errors

 

Public bug reported:

[WAR] 5f (lib/errors.php:749) Failed to get a recordset: postgres7 error: [-1: ERROR:  value too long for type character varying(128)] in adodb_throw(INSERT INTO "view_tag" ("view", "tag") VALUES (?, ?), Array)
Command was: INSERT INTO "view_tag" ("view", "tag") VALUES (?, ?) and values was (6,overflooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooow)

Master, postgres only.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/864926

Title:
  submitting tags over 128 characters throws postgres errors

Status in Mahara ePortfolio:
  New

Bug description:
  [WAR] 5f (lib/errors.php:749) Failed to get a recordset: postgres7 error: [-1: ERROR:  value too long for type character varying(128)] in adodb_throw(INSERT INTO "view_tag" ("view", "tag") VALUES (?, ?), Array)
  Command was: INSERT INTO "view_tag" ("view", "tag") VALUES (?, ?) and values was (6,overflooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooow)

  Master, postgres only.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/864926/+subscriptions


Follow ups

References