cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member236392
Participant

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

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member185511
Active Participant
0 Kudos

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

UxKjaer
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

AndreasKunz
Advisor
Advisor
0 Kudos

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

AndreasKunz
Advisor
Advisor
0 Kudos

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/)

former_member236392
Participant
0 Kudos

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

AndreasKunz
Advisor
Advisor
0 Kudos

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

former_member236392
Participant
0 Kudos

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

Sharathmg
Active Contributor
0 Kudos

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()?

former_member236392
Participant
0 Kudos

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

Sharathmg
Active Contributor
0 Kudos

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

Report a bug, if you have the option.