PDA

View Full Version : Flextron Issue with Redirected Error Object Id



raveens
29-Aug-2023, 06:20 PM
HI DAW

With reference to cWebObjectHost_mixin.pkg -> function ClientTranslations

There is a piece of code as per:



If (Error_Object_Id > 0) ;
Get Error_Description of Error_Object_Id DFERR_ENTRY_REQUIRED "" to Trans.sV


If should be:



If (ghoErrorHandler > 0) ;
Get Error_Description of ghoErrorHandler DFERR_ENTRY_REQUIRED "" to Trans.sV


IF the error_object_Id is redirected then you will get an error 98 as the Error_Description would most likely not exists in the redirected object.

Vincent Oorsprong
30-Aug-2023, 02:57 AM
Raveen,

IMHO when you redirect error_object_id you need to make sure the new object knows required messages and properties. This is not new and was already so in DataFlex 3.0

raveens
31-Aug-2023, 12:22 AM
Hi Vincent

This post basically explains why:
https://support.dataaccess.com/Forums/showthread.php?68227-Error_Object_Id-vs-ghoWebErrorHandler-vs-Error_Info_Object

DaveR
12-Jul-2024, 10:35 AM
Hi Vincent

This post basically explains why:
https://support.dataaccess.com/Forums/showthread.php?68227-Error_Object_Id-vs-ghoWebErrorHandler-vs-Error_Info_Object

Raveen,

what did you eventually do to work around this?

Dave

raveens
13-Jul-2024, 11:52 PM
Hi Dave

We just modified cWebObjectHost_mixin.pkg

DaveR
17-Jul-2024, 02:50 PM
Hi Dave

We just modified cWebObjectHost_mixin.pkg

Me too, after seeing your explanation, I hope I remember when DF25 comes out... :cool:

Dennis Piccioni
17-Jul-2024, 03:35 PM
We're fixing this for next rev.

DaveR
19-Jul-2024, 12:08 PM
We're fixing this for next rev.

:)

thanks Dennis. Good decision. I understand Vincent's POV but this specific situation just seemed wrong.

... aaaaand when will that be? (so I can book vacation)

Marcia Booth
23-Jul-2024, 07:43 PM
December. Didn't you get the memo from Bram? Always December :)

DaveR
5-Aug-2024, 05:50 PM
December. Didn't you get the memo from Bram? Always December :)

I'm in retail, What is this 'December' you speak of?

Marcia Booth
5-Aug-2024, 06:39 PM
Just a joke that started at a conference when some one asked about release dates of various features. Bram casually said December for any of them :rolleyes:

DaveR
21-Nov-2024, 12:20 PM
I just had 4 days in Miami and no Alpha2? Next trip is January 25 so there's your Beta date :cool:

Dennis Piccioni
21-Nov-2024, 12:35 PM
No other plans this year???

DaveR
2-Dec-2024, 02:39 PM
No other plans this year???I'd have to reply privately on that one :rolleyes: