Re: s:textarea Apache Struts 7.2.0
Lukasz Lenart <[email protected]> Mon, 15 Jun 2026 12:04:30 +0200
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkO6pwvLnvuibYki1JpgzFVe8OK_HC5x84zOVqOw5FoRQg@mail.gmail.com> |
pon., 15 cze 2026 o 10:52 Greg Huber <[email protected]> napisa=C5=82(a): > > I have not modified the textarea freemarker .ftl templates? > > My devMode=3Dtrue. > > It is also adding the blanks to ALL my crud edit textarea fields > also. Its showing up as [13, 10] bytes. > > On my add screens I am getting > java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2 > errors on my add screens By default nameValue is set to null, this is converted into \r\n and with stripping whitespaces off in devMode you see the issue. > The comment on https://issues.apache.org/jira/browse/WW-5256 says > "Postponing as this can break user code or UI tests" It was postponed to not be included in 7.1.1, 7.2.0 is minor change and some breaking changes are allowed Cheers =C5=81ukasz