Hi @alexandronalin
I hope you’re well today!
Thank you for reporting this.
I tested it and can confirm it so I’ve asked our Forminator Team if we could make some improvement with future releases. Note that I can’t give you any ETA at the moment as they need to look into it first and, if decision is made to make those changes, include it in development schedule. But it’s already reported so they’ll check it.
—
With that being said, it actually is not a bug. We are referring here to the _posts table and there are three columns important to the case: ID, post_title and post_name. ID is of course unique (as it’s automatically generated by the database upon record insertion); post_title is – just like with any regular post – a title and in this case this is the form name; post_name – is a slug (so the part of the URL that determines which post is it).
Now, when a form is duplicated a new record is inserted into that table:
– ID is autoincremented/set automatically by DB engine
– post_title is indeed set to the exact same as title of original form (as it’s a duplicate) – and that’s nothing wrong with that; you can have multiple regular posts on site with the very same title as well
– but the post_name gets that number added because post_title is the same; it’s the same as if you would add e.g. 3 posts with title “ABC” to the site – first one would be /abc, second one would be /abc-1 and so on.
Technically speaking it’s all fine and rather standard to WordPress.
What I am a bit surprised with is how Uncanny Automator uses that. I tested it and you are right – it shows the same form name and it does that even if I actually rename the copied form. It suggests that instead of taking “post_title” (which would make a bit more sense in my opinion) it seems to be taking “post_name” (so a slug in fact) and additionally stripping any number suffix from it. It’s a bit unexpected. So it’s indeed good that it at least shows the form ID.
But that’s just a side-note as I was actually curious why it works that way. As mentioned, I’ve passed your feedback to our Forminator Team so developers will look into it and see if we could improve that duplication behavior with one of future releases.
Thank you for reporting it!
Best regards,
Adam
Thread Starter
Alex
(@alexandronalin)
Thanks Adam for the detailed reply. I’m glad I was helpful in reporting.
I’ll keep an eye on your changelog
Bets regards