View Issue Details

IDProjectCategoryView StatusLast Update
0002658Composrcore_fieldspublic2016-06-14 17:43
ReporterPatrick SchmalstigAssigned ToChris Graham 
Severity@40@ 
Status closedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002658: Software limit on default text is inconvenience to choice selection
DescriptionI noticed that Composr is truncating the length of the default text field for Catalogue fields, despite the default column in the database being type longtext. This is an inconvenience to people who need long default text for choice type fields, as it cuts off the options.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2016-06-14 12:00

administrator   ~0004035

What field type exactly?

Chris Graham

2016-06-14 12:10

administrator   ~0004036

Ok I think I understand now what you mean. I don't think anything is being truncated, I think the length of the input field is the issue. It was limited to 10000 characters.

I've now raised it to pow(2, 31) - 1 (~2GB) -- I've uploaded the change for you, hopefully that solves it.

Patrick Schmalstig

2016-06-14 15:02

administrator   ~0004039

It's the default value field for adding fields to a catalogue. Hmm... 10,000 characters doesn't seem right. My value was truncated at 255 characters I think. But hopefully your tweak will still work.

Issue History

Date Modified Username Field Change
2016-06-12 20:14 Patrick Schmalstig New Issue
2016-06-14 12:00 Chris Graham Note Added: 0004035
2016-06-14 12:10 Chris Graham Note Added: 0004036
2016-06-14 12:10 Chris Graham Status non-assigned => resolved
2016-06-14 12:10 Chris Graham Resolution open => fixed
2016-06-14 12:10 Chris Graham Assigned To => Chris Graham
2016-06-14 15:02 Patrick Schmalstig Note Added: 0004039
2016-06-14 17:43 Chris Graham Reproducibility always => unable to reproduce
2016-06-14 17:43 Chris Graham Status resolved => closed