Skip to Content
1

[BUG] SAPUI5 1.48.9 sap.m.TextArea growing="true"

Sep 29, 2017 at 04:53 AM

117

avatar image
Former Member

Hi guys,

just found a bug in SAPUI5 version 1.48.9. The sap.m.TextArea control causes a severe dump and stops execution in Chrome if the "growing" property set to "true". Just beware.


Same control works fine in 1.48.6.

Thanks,
Anton

textarea-bug.jpg (41.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Andreas Kunz
Sep 29, 2017 at 08:58 AM
0

Hi Anton,

can you give more context in which situation it occurs?

This minimal example does not exhibit a bug...: http://jsbin.com/zosewij/1/edit?html,output

Regards

Andreas

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Andreas,

sorry for a bit of a delay. Please find an example with the bug here. I re-used your code with the only difference that I load the sapui5 library instead of openui5. As mentioned, that's 1.48.9.

Thank you,
Anton

0
Andreas Kunz
Sep 29, 2017 at 09:11 AM
0

Actually this sounds very much like the bug fixed here: https://github.com/SAP/openui5/commit/9c41e4f93c4902e17fa7556e4cadbc1c9347ea8f

(setting value before rendering)

It occurred in 1.48.8:

http://jsbin.com/zosewij/3/edit?html,output

But no longer in 1.48.9:

http://jsbin.com/zosewij/4/edit?html,output

Regards

Andreas

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Oh, my version numbers are those for OpenUI5, SAPUI5 is one level ahead in 1.48! So SAPUI5 1.48.9 has bug, but 1.48.10 is fixed.

https://sapui5.hana.ondemand.com/1.48.10

(in case you wonder about the version difference: it's a tricky, technical story described here: https://blogs.sap.com/2016/04/04/how-sapui5-and-openui5-versions-are-related/)

0
Former Member

Hi Andreas,

sorry, just saw your comment after I already replied to the previous ones.

Yes, it's fixed in 1.48.10.

The only question now is when is it scheduled to be deployed in the SAP Cloud Platform environment? The blog was very helpful, thank you. I understand it says we need to wait a couple weeks till the next patch is released for WebIDE.

Thank you,
Anton

0
Jakob Marius Kjær Sep 29, 2017 at 09:34 AM
0

I work with Anton and we got it this morning in webide without doing any changes. Was there a library update in scp overnight?

We changed the library to an older version and can now run without problems.

Share
10 |10000 characters needed characters left characters exceeded
Sharath M G Sep 29, 2017 at 07:40 AM
0

If you dont set growing, does it not throw an error? If its working without setting growing property, does it return false, on the method getGrowing()?

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Sharath,

if I don't set the growing to 'true' explicitly in the xml view declaration, no error is thrown and the getGrowing() does return 'false'. You can check out the error here


Thanks,
Anton

0

Definitely a bug. As setting false returns but setting true results in error.

Report a bug, if you have the option.

0
Bilen Cekic Oct 03, 2017 at 03:08 AM
0

i had this problem as well. just switched to 1.46.6 and everything is fine now.

Share
10 |10000 characters needed characters left characters exceeded