Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bartek

Pages: [1]
1
Bugs and Issues / Re: RTF template's Custom Script randomly throws E
« on: September 13, 2013, 08:36:41 pm »
Good news everyone:)

It seems that problem is fixed in the latest version of EA (10.0.1009).
We haven't seen any "Error:" problem since we upgraded to that version.

Thanks for helping.

2
Bugs and Issues / RTF template's Custom Script randomly throws Error
« on: September 06, 2013, 06:59:10 pm »
Hi,

i've made a RTF Report which uses RTF Template Fragment based on Custom Script.
During generation that template fragment is used hundreds time (once for each element) and sometimes custom script throws Error (in System Output is just "Error:" text, witout any explanation). It occured that Error is thrown before any code from Custom Query tab is executed (i've checked that very carefully), so there is no chance to try-catch it.
Is there a chance to fix it or avoid it?

You can check that using sample EAExample repository. Create two templates:
test1
Code: [Select]
package >
element >
{Template - test2}
child elements >
< child elements
< element
child packages >
< child packages
< package
test2 - template fragment
Code: [Select]
custom >
{DateGen} : {Author} : {EA_REPOS}
< custom
with custom script: DocProperties
and code:
Code: [Select]
MyRtfData(#OBJECTID#);
then execute report generation using template test1 on package UML Modeling. It should throw some errors. If not - try to execute again :)

Oh! Important thing - i'm using version 10.0.1006

Pages: [1]