Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IntraWeb 15.3.x JavaScript code generation issue
#4
Hi Dr. Bob,

I can confirm that this issue exists.Thanks for your detailed report and workaround.

Unfortunately, an ancient poor piece of code went unnoticed when the behavior of the method changed and it broke AddToJavaScriptOnce() result. Instead of inserting the code at once, FinalizeContext() inserts small pieces of code.

The change is because it is PageContext responsibility to ensure that no duplicate code is inserted by different pieces of code rendered in different component contexts, such as the image cache.

Anyway, a new overloaded method has been introduced and the FinalizeContext() method has also been "fixed" so that it won't insert just small pieces of a JavaScript method.

The new maintenance update 15.3.5 is already available.
Reply


Messages In This Thread
RE: IntraWeb 15.3.x JavaScript code generation issue - by Alexandre Machado - 05-03-2023, 09:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)