Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    isc.addProperties inconsistent depending on whether console is visible

    Click image for larger version

Name:	Screen Shot 2017-03-08 at 14.10.31.png
Views:	59
Size:	167.2 KB
ID:	243267 Smartclient: v10.1p_2017-03-06/PowerEdition Deployment

    Chrome: OSX 56.0.2924.87 (64-bit)
    Chrome: Windows 10 56.0.2924.87 (64-bit)

    It seems that when you call addProperties with null as the destination, if the SmartClient console is not showing, then it works as I'd expect.

    Once you isc.showConsole() and repeat the command it instead returns an empty object!!

    If you then close the console browser and repeat, it'll again return the populated object as expected.

    #2
    This was a weird one. The problem was that logging a warning caused a recursive call to addProperties(), and the method was not safely re-entrant due to re-use of a global Array. Although somewhat harmless (code that encountered this issue needed to be corrected anyway), we're fixing this one back to 9.0.

    Comment


      #3
      Thanks, that's now working for us in v10.1p_2017-03-11/PowerEdition Deployment

      Comment

      Working...
      X