PDA

View Full Version : using Batchdd.pkg in a Webapp



danwalsh46
9-Jun-2018, 02:59 PM
A Webapp which compiles in 19.0 has the following error in 19.1. The batch process in question has the Status_Panel_State set to False.

- Error 4328: C:\Program Files (x86)\DataFlex 19.1\Pkg\Batchdd.pkg (ln 171) Undefined symbol in argument CHECK_STATUSPANEL

All of my Webapps use this class.

danwalsh46
10-Jun-2018, 09:30 AM
The attached compiles.

Samuel Pizarro
10-Jun-2018, 10:14 AM
There wasan’t a specific dd debug for web?

danwalsh46
10-Jun-2018, 10:21 AM
It looked like the exclusion of Statpnl references was incomplete. Since you can't use the Statpnl in Webapp, I just added compiler directives to complete the job as I saw it. Does that answer your question?

Samuel Pizarro
10-Jun-2018, 04:23 PM
Sorry

I consufed batchdd with dd_debuger, that has a specific version for web.

Chris Spencer
10-Jun-2018, 05:13 PM
Same Issue the modified pkg corrects it.
Has DAW acknowledged this with you that the pkg will be patched in the classes library?

danwalsh46
11-Jun-2018, 07:48 AM
No, I'm still awaiting official comment.

Harm Wibier
13-Jun-2018, 06:17 AM
There wasan’t a specific dd debug for web?

There is: WebDD_Debug.wo

Samuel Pizarro
13-Jun-2018, 10:39 AM
Yeah... that was what I was thinking... thanks Harm

John Tuohy
13-Jun-2018, 01:04 PM
Problem acknowledged - your fix looks pretty good. Either that or something similar will appear in the next alpha. In 19.1 we attempted to better separate the windows and web packages. There were cases where an accidental use might bring a bunch of windows classes that, at best, did nothing. A side benefit of this is that code-sense is smarter with 19.1 web applications - you don't see a bunch of windows interfaces that actually don't exist. We missed this one and I expect there will be others. When you see them, report them.

-John

Stephen W. Meeley
26-Jun-2018, 08:39 AM
Dan,

This has been addressed in Alpha 3. Thanks for the changes you supplied!