mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #46126
[Bug 1742590] [NEW] Text/Note/Annotation Maxlength rule is unnecessary
Public bug reported:
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.
** Affects: mahara
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Cecilia Vela Gurovic, 2019-04-30
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Robert Lyon, 2019-03-21
-
[Bug 1742590] A change has been merged
From: Mahara Bot, 2019-03-21
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Robert Lyon, 2019-03-21
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Steven, 2019-03-20
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Steven, 2019-03-17
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Lisa Seeto, 2019-03-14
-
[Bug 1742590] A patch has been submitted for review
From: Mahara Bot, 2019-03-14
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Lisa Seeto, 2019-03-12
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Cecilia Vela Gurovic, 2019-03-07
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Kristina Hoeppner, 2018-08-30
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Robert Lyon, 2018-03-07
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Kristina Hoeppner, 2018-01-11
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Robert Lyon, 2018-01-11
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Ghada El-Zoghbi, 2018-01-11
-
[Bug 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary
From: Kristina Hoeppner, 2018-01-11