upenndigitalscholarship / deep

MIT License
3 stars 1 forks source link

Increase character limits in Admin fields #67

Closed ZacharyLesser closed 1 year ago

ZacharyLesser commented 1 year ago

Right now the character limits for data fields in Admin appears to be 200. This hasn't caused problems yet, but a lot of the fields are longer than that -- especially "Title Page: Modern Spelling", but no doubt some others.

When I tried to edit a record (DEEP 5149.03), to correct a mistake with the link in the Independent Playbook field, it would not allow me to save it because it now catches the error in Title Page: Modern Spelling, which is over 200 characters.

Can all these fields be modified to allow much longer data?

ZacharyLesser commented 1 year ago

I think it's possible that some fields will be longer even than 400 characters -- the Variant Description, for instance, can get quite long. Would it be a problem to increase this to 2000 characters? Does that slow things down or cause some other issues?

ZacharyLesser commented 1 year ago

(PS I just got the same error at 227 characters so if you did push this through with a rebuild, it didn't work.)