Error when adding second detail to master-detail form

VictorUlloa, Sat Aug 27 2022, 07:18PM

Hi, I'm creating a form with one master and varios detail grids.

I use the method suggested in the Online Manual: created a grid with popup form for the master table, then, on the same module I append a second grid for the first detail table. Everything works fine upt to here.

But then I try to add a second detail grid over the same module, which results in the message: "Duplicate name: A component named cpanel_2_2 already exists.".

I cleaned up my project, deleting the master-detail form, repeated the steps, same result.

A workaround seems to be renaming the "cpanel_2_2" component to something else BEFORE adding the second detail grid,
Re: Error when adding second detail to master-detail form
administrator, Sat Aug 27 2022, 07:36PM

We will try to replicate it. We had a similar issue not too long ago, but I could not find the reference in the bug tracker. Perhaps it's in our service desk ticket system, it's currently in maintenance. But in the upcoming version, there is a sequence parameter in the Wizard that is used to avoid generating duplicate names. Perhaps both issues are not related, but they sound similar. I let you know asap.

Re: Error when adding second detail to master-detail form
administrator, Sat Aug 27 2022, 08:04PM

The issue is reproduced. It is fixed in the new release by adding a sequence number. It adds up on each additional append. The new version is in alpha release. The beta is planned in two weeks.

https://phspeed.com/img/sa1.png

Re: Error when adding second detail to master-detail form
VictorUlloa, Mon Aug 29 2022, 03:07PM

Thank you very much
Re: Error when adding second detail to master-detail form
VictorUlloa, Tue Oct 11 2022, 11:42AM

SOLVED in version 2.3