Increase the length of summary field.

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Solace_QA
Posts: 3
Joined: Jun 12, 2019 7:15 am

Increase the length of summary field.

Post by Solace_QA » Jun 12, 2019 7:18 am

Well, I'm stuck into a situation where I need to increase the length of the summary field from 128 to 255 character but not able to make it out. So anyone helps me to fix this?.



Thanks,
Solace_QA

cas
Posts: 528
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Increase the length of summary field.

Post by cas » Jun 12, 2019 8:33 am

You could make that change directly on the database but you need to adjust the coding as well in:
bug_report_page.php line 546,change maxlength to 256
bug_update_page.php line 636,change maxlength to 256
The line numbers belong to version 2.21, for other versions search for "summary" and you will find the right place.

Having said the above, be aware that this will be gone after a future upgrade.

Solace_QA
Posts: 3
Joined: Jun 12, 2019 7:15 am

Re: Increase the length of summary field.

Post by Solace_QA » Jun 13, 2019 12:13 am

Ok goy you, Thanks for the info able to make changes and successful in increasing the field length


Thanks,
Solace_QA

Post Reply