Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Sep 29, 2017 at 08:58 AM

    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

    Add comment
    10|10000 characters needed 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

  • Sep 29, 2017 at 09:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Sep 29, 2017 at 09:34 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 29, 2017 at 07:40 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03, 2017 at 03:08 AM

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

    Add comment
    10|10000 characters needed characters exceeded