Skip to content

Conversation

@jotoeri
Copy link
Member

@jotoeri jotoeri commented Jul 29, 2020

Ok, just did it now... 😋
Fixes #529

@jotoeri jotoeri added enhancement New feature or request 3. to review Waiting for reviews feature: 📑 form creation labels Jul 29, 2020
@jotoeri jotoeri added this to the 2.1 milestone Jul 29, 2020
@skjnldsv skjnldsv requested a review from nickvergessen July 30, 2020 07:23
@skjnldsv skjnldsv modified the milestones: 2.1, 2.0.2 Jul 30, 2020
@nickvergessen
Copy link
Member

Just make sure there is no attempt of an index on that column.

@jotoeri
Copy link
Member Author

jotoeri commented Jul 30, 2020

There is no index on description 👍

@skjnldsv @jancborchardt Just thought about, as we are changing lengths anyways, if we should also increase the length of the answers, too? As in #527 there was already somebody having a answer on long-text-question, longer than 2048 chars? Or even look at all sizes again? 🤔

Comment on lines 87 to 92
private $maxStringLengths = [
'formTitle' => 256,
'formDescription' => 2048,
'formDescription' => 8192,
'questionText' => 2048,
'optionText' => 1024,
'answerText' => 2048,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...these lengths are currently set.

@skjnldsv
Copy link
Member

As in #527 there was already somebody having a answer on long-text-question, longer than 2048 chars? Or even look at all sizes again?

Sure 👍
4096?

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
@jotoeri jotoeri force-pushed the enh/description_length branch from 0440045 to 726a405 Compare July 30, 2020 11:21
@jotoeri
Copy link
Member Author

jotoeri commented Jul 30, 2020

Done 👍 The other lengths are good for you?
Also changed the old migration now, to not cut the answers and then increase the lengths again for those who did not update yet. Should work in this case to backward-change the migration.

@skjnldsv
Copy link
Member

skjnldsv commented Jul 30, 2020

Done The other lengths are good for you?

Seems good to me 🤷
Merge and release?

@jotoeri jotoeri merged commit fc2f4d7 into master Jul 30, 2020
@jotoeri jotoeri deleted the enh/description_length branch July 30, 2020 11:26
@jancborchardt
Copy link
Member

@jotoeri good stuff! :) And yes, if there are any further issues with sizes, people will report it and we can adjust again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request feature: 📑 form creation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Increase the size of the form description field (allow longer text)

5 participants