submitting tags over 128 characters throws postgres errors
Bug #864926 reported by
Melissa Draper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Son Nguyen |
Bug Description
[WAR] 5f (lib/errors.
Command was: INSERT INTO "view_tag" ("view", "tag") VALUES (?, ?) and values was (6,overfloooooo
Master, postgres only.
summary: |
- submitting tags over 128 characters throws sql errors + submitting tags over 128 characters throws postgres errors |
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → Low |
tags: | added: bite-sized |
tags: | added: postgres |
Changed in mahara: | |
assignee: | nobody → Son Nguyen (ngson2000) |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | none → 1.6.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/1147 gitorious. org/mahara/ mahara/ commit/ ca064efb4a5d56c 6664e26afcb0533 28597569d5
Committed: http://
Submitter: Hugh Davenport (<email address hidden>)
Branch: master
commit ca064efb4a5d56c 6664e26afcb0533 28597569d5
Author: Son Nguyen <email address hidden>
Date: Tue Apr 10 11:10:25 2012 +1200
Submitting tags over 128 characters throws postgres errors Bug#864926
+ truncate the tag before insert it into the database
Change-Id: I4eda5698425bba 91a3048881c0ce9 bc1df21b568
Signed-off-by: Son Nguyen <email address hidden>