Reviewed: https://reviews.mahara.org/9629 Committed: https://git.mahara.org/mahara/mahara/commit/c26a5860cfecfa3d66b097c0e4a94e5662548ec9 Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: master
commit c26a5860cfecfa3d66b097c0e4a94e5662548ec9 Author: Lisa Seeto <lisase...@catalyst.net.nz> Date: Fri Mar 15 11:32:10 2019 +1300 Bug 1742590: Text/Note/Annotation Maxlength rule is unnecesary increased the maxLength property of textfields to 1000000 chars. behatnotneeded Change-Id: I7b9307de6f588aa841355500282f24b32c5ede85 Signed-off-by: Lisa Seeto <lisase...@catalyst.net.nz> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1742590 Title: Text/Note/Annotation Maxlength rule is unnecessary Status in Mahara: Fix Committed Bug description: Mahara: 17.10.1 OS: Ubuntu 16.04 DB: Postgres Browser: FF When inserting a base-64 encoded image into a comment on a form, the user is presented with the following error: 'This field must be 8192 characters long.' This rule validation is not really required because the DB field that it inserting into is a 'Text' type. Which basically means it's almost unlimited. Postgres 7.1+ does have an upper limit at 1 Gb for a Text field. Mahara supports Postgres 9+. I do think it's safe to remove the maxlength rule for the Text, Note and Annoation fields. Please let me know your thoughts. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1742590/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp