Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Error 8140 when finish report without performing any OUTPUT REPORT  (Read 5846 times)
francesco f.
Posts: 16


« on: March 20, 2023, 06:19:27 pm »

Hi,
we are porting sources from bdl 2.5 to 4.01 and are experiencing this error that never showed with 2.50.
Issue happens just when the report was assigned to pipe and the output instruction was never call.
Review the logic is almost impossible due to time and budget.

Probably we can resolve surrounding the finish between WHENEVER  ERROR or a TRY CATCH, but maybe there is a better approach.
Anyone knows?

As a sidenote anyone knows what kind of isssues we can stumble upon passing from 2.50 to 4? As a matter of fact is a big leap!

Thankyou.
Sebastien F.
Four Js
Posts: 509


« Reply #1 on: March 20, 2023, 07:09:07 pm »

Hello,

Please send a code sample to the support channel so we can investigate and properly identify the issue.

About changes since Genero BDL 2.50, you should read the new features pages:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_nf.html

and the upgrade guides:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_upgrade_guides.html

Seb
francesco f.
Posts: 16


« Reply #2 on: March 21, 2023, 01:15:26 pm »

Hi,
the istructions can be as simple as that:

START REPORT rptLis TO PIPE "lp -dpsinfo"
FINISH REPORT rptLis

Finish report with no output between start and fiinish.

Thankyou
Sebastien F.
Four Js
Posts: 509


« Reply #3 on: March 21, 2023, 02:06:14 pm »

The new behavior is a bug fix.

Check
- https://4js.com/support/issue/?id=FGL-05594#startissue
- https://4js.com/support/issue/?id=FGL-05703#startissue

Seb
francesco f.
Posts: 16


« Reply #4 on: March 21, 2023, 06:26:12 pm »

Hi Seb,
thanks for your reply.
so we must modify our code wrapping the instructions or mimicking a zero exit status from the pipe?
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines