Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Clone Tabs and Content into Existing Form? Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
pmjd
Posts: 132
Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time

Clone Tabs and Content into Existing Form?

Unread post 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?
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Clone Tabs and Content into Existing Form?

Unread post 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]
pmjd
Posts: 132
Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time

Re: Clone Tabs and Content into Existing Form?

Unread post by pmjd »

Thanks kev1n, the patch has worked and all is as expected :)
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Clone Tabs and Content into Existing Form?

Unread post by kev1n »

Great, the fix is already on Github.
Post Reply