Hi Jacques,

Yes, I'm using 18.12

I did as you suggested and loaded the demo data. I no longer get the error 
message and the BIRT option is in the main menu.

I will continue to explore this as I am really trying to move towards a real 
production build with no demo data.

Thanks for your reply.

 

-----Original Message-----
From: Jacques Le Roux <[email protected]> 
Sent: Friday, July 19, 2024 6:27 AM
To: [email protected]
Subject: Re: Problem installing/enabling birt plugin

Hi Jeff,

I'll not ask if you use the last 18.12 release (18.12.14) or the trunk (22.01 
is unofficially //abandoned). They are very similar (almost same).

I just did a fast try with the trunk version that I have available under 
framework both from their respective repos.

Just after making the plugin enable I did not reproduce the error you reported.

On the other hand I was not able to get to the "Flexible report". Because it 
depends on demo data visible in ofbiz-component.xml. After loading them all 
worked as expected.

Try, for now, to load all demo data to see if it has an influence on the error 
you reported.

Then we will see...

HTH

Jacques

Le 19/07/2024 à 01:12, Jeff Christensen a écrit :
> Hi,
>
> I am trying to enable the birt plugin on a new instance of OFBiz without the 
> demo data.
>
>
>    1.  I copied the plugin to the ofbiz-framework/plugin directory
>    2.  I edited the plugin/birt/ofbiz-component.xml and changed enabled="true"
>    3.  I installed the plugin via "gradlew installPlugin -PpluginId=myplugin"
>
> Now when I go to any menu that has been touched by the birt plugin I get the 
> following message:
>
> java.lang.RuntimeException: Error rendering included menu named 
> [MainActionMenu] at location []: java.lang.IllegalArgumentException: 
> Could not find menu file in location []
>
> Is there anything else I need to do?
>
> I have also tried running ./gradlew "ofbiz --load-data 
> readers=seed,seed-initial" in case there is any data that needs to be set up.
>
> Thanks.
>
>

Reply via email to