Page 1 of 1

Clone Tabs and Content into Existing Form?

Posted: Sun Jan 09, 2022 3:52 am
by pmjd
Hello,

I've tried to use the cloner tool to clone the tabs and their objects from one form into an existing form but it doesn't seem to work. Instead a new form that is a copy of the original form is generated instead.

Is there a setting I'm missing or is there a bug?

Re: Clone Tabs and Content into Existing Form?

Posted: Sun Jan 09, 2022 5:04 am
by kev1n
Hi,

Something seems to be broken when cloning into an existing form.
Care must be taken if an object with the same ID already exists in the target form. This is not recognised/handled by the cloner.

Here is a patch that should fix it. Run the sql on your db.

[Patch removed, it's on Github]

Re: Clone Tabs and Content into Existing Form?

Posted: Mon Jan 10, 2022 1:31 am
by pmjd
Thanks kev1n, the patch has worked and all is as expected :)

Re: Clone Tabs and Content into Existing Form?

Posted: Mon Jan 10, 2022 3:45 am
by kev1n
Great, the fix is already on Github.