Re: s:textarea Apache Struts 7.2.0

Greg Huber <[email protected]> Mon, 15 Jun 2026 11:14:24 +0100
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <[email protected]>
--------------sE0DXpHu58HpR0I8gUfBAWMO
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

It does not give any hint on what to do?  In by bean initialise all 
fields field to "" ?  ....And the point of this is?

Also its adding \r\n it to non null textareas?

It needs to be the same for both dev true/false, otherwise testing is 
too much of a pain.

On 15/06/2026 11:04, Lukasz Lenart wrote:
> pon., 15 cze 2026 o 10:52 Greg Huber<[email protected]> napisał(a):
>> I have not modified the textarea freemarker .ftl templates?
>>
>> My devMode=true.
>>
>> 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 onhttps://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
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:[email protected]
> For additional commands, e-mail:[email protected]
>
--------------sE0DXpHu58HpR0I8gUfBAWMO--