pct icon indicating copy to clipboard operation
pct copied to clipboard

Error when using PCTDumpIncremental to generate incremental for a TDE database

Open Daniel-S-B opened this issue 5 years ago • 2 comments

Subject of the issue

I can't generate the incremental .df using PCTDumpIncremental on TDE database, no error message is displayed in ANT log but it stops due to return code 1.

Your environment

  • Win 10
  • OpenEdge 11.7
  • Ant 1.10.5
  • PCT 211

Actual behaviour

When the database is TDE encrypted and create incremental df using PCTDumpIncremental task return code 1 error is logged and build failed. No error message is displayed.

Expected behaviour

I expected to have the warning captured in 'incrdump.e' file and dump file created.

Steps to reproduce

Use PCTDumpIncremental to generate the incremental DF between the two TDE databases.

Daniel-S-B avatar Jun 06 '19 13:06 Daniel-S-B

I confirm that this has never been tested. I'll have a look.

gquerret avatar Jun 07 '19 06:06 gquerret

I've reproduced the problem, PCTDumpIncremental returns a build failure but without any meaningful message. No ETA for a fix, contact me offline if you want it fixed quickly.

gquerret avatar Jun 18 '19 16:06 gquerret

Seems to be related to missing ROUTINE-LEVEL ON ERROR UNDO, THROW in the call stack. I need to double check, that's not entirely clear.

gquerret avatar Feb 06 '23 07:02 gquerret

Merged in main. Changed error handling mechanism in PCTDynamicRun.

gquerret avatar Feb 10 '23 15:02 gquerret