CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

links is not defined in Render Async!

by sesam » 04 Jul 2018 13:25

Hi,

after upgrading from IW 14.2.6 to IW 15.0.6 I get the error above
in all my projects. I didn't change anything.

Code: Select all
procedure TIWFormStart.CreateFrame(FrameClass: TIWCGFrameClass);
var
  RenderAsync: Boolean;
begin
  RenderAsync:= CGIsCallBackProcessing;
  if RenderAsync then
    // SINCE THE FRAME IS GOING TO BE RENDERED BY AJAX, DON'T NEED TO GENERATE AJAX RESPONSE.
    CGCallBackDisableAjaxResponse;

  CreateNewFrame(FrameClass);
  FrameComp.ProcessCommand(0,nil);
  if RenderAsync then
  begin
    CGCallBackEnableAjaxResponse;
//That's where the error occurs
    RenderRegionAsync(MainRegion, rramOldMethod, True);
  end;
end;

function TIWFormStart.CreateNewFrame(AFrameClass: TIWCGFrameClass): TFrame;
var
  NewName: string;
begin
  NewName:= CGFindUniqueComponentName(Self,'Frame');

  if Assigned(FrameComp) then
    FreeAndNil(FFrameComp);

  if not Assigned(FrameComp) then
  begin
    FFrameComp:= AFrameClass.Create(Self);
    FrameComp.Name:= NewName;
    FrameComp.Parent:= MainRegion;
    FrameComp.Align:= alClient;
  end;

  Result:= FrameComp;
end;


Any ideas?
Thanks, Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by hsbelli72 » 04 Jul 2018 21:35

hi, i have exactly the same problem.. and i request help for two weeks and still in stand by.

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10

by Alexander Bulei » 05 Jul 2018 10:11

Hi sesam,

Can you provide me the simple and clear (without any extra comps) testcase? TIA

hi, i have exactly the same problem.. and i request help for two weeks and still in stand by.


Since the hsbelli72 can't provide the simple testcase in 2 weeks :)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sesam » 09 Jul 2018 13:17

Hi,
attached is a simple testcase.
Just press the login-button...

Regards,
Andreas
You do not have the required permissions to view the files attached to this post.
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by hsbelli72 » 10 Jul 2018 17:41

hi, any advance with testcase of sesam?.. stand by migration to iw15

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10

by Alexander Bulei » 17 Jul 2018 09:07

Hi,

The 4.1.0.94 have fix for issue with grid persistent functionality, which was causing the av.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by hsbelli72 » 18 Jul 2018 17:43

hi, yes run ok with iw 15.0.6, but iw 15.0.7 and iw 15.0.8. the suite dont run.i have a error on iwcommon.pas
i need a new version of suite for the last iw version?

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10

by Alexander Bulei » 23 Jul 2018 09:44

Hi hsbelli72,

i need a new version of suite for the last iw version?


Yes, the IW15.0.6 setup is incompatible.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by hsbelli72 » 24 Jul 2018 14:08

ok. when release a suite run on iw 15.0.8 or higher?.

regards
hsbelli72
 
Posts: 297
Joined: 14 Mar 2013 18:10

by Alexander Bulei » 25 Jul 2018 09:06

Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

Next

Return to General

Who is online

Users browsing this forum: No registered users and 38 guests

Contact Us.