Upsert Plugin - Updating double rows with groups

Tessa

Member
Hello,


I am literally loving this plugin. :) Thank you so much for creating it.

It works great on a single form, but when I use it on a form that uses groups, it updates the upsert table with duplicate data.

What can I do to troubleshoot?

Thanks in advance,


Tessa
 
No repeated groups enabled. I have 17 groups on one list, each with form upsert plugin. Each time I update a group, it inserts 2 rows into the list copy.

But on my other list without any groups, it only inserts 1 row into the list copy.

=\
 
Hi Tessa, could you try re-explaining that one :)
I have 17 groups on one list, each with form upsert plugin.
The plugin is attached to the form, so I'd expect to see only one plugin, but it seems that you are suggesting its tied to the groups somehow? perhaps a screen shot of the form plugin settings might clarify things for us?
 
Hi Rob,

Thank you for your response.

Upsert Settings: http://awesomescreenshot.com/087192pg9f
Values: http://awesomescreenshot.com/0e5192pbdd
phpMyAdmin: http://awesomescreenshot.com/0e1192q627

Right now all the groups copy to that one table. I was thinking of making each group copy to a different database table, but if a user has to view a duplicate copy of every single submission, it may cause many complaints. haha.


Let me know if you see anything that sticks out that is not configured properly. :)
 
Not sure if this is the reason, but I think your upsert plugin's 'primary key' setting should be 'id' and not 'parentid' ?
Try setting it to that to see if that fixes things
 
Hi Rob,

I had it originally as "id" for "primary key" and it was doing the same thing, so I changed it to parent_id to test a difference.

I changed it back to id though. Same duplicate entries.
 
Hi Rob,

I added the site and admin account in my personal information section, and also sent you a Private Message with the password and which form it is.

Thanks! :)
 
ok I'm going to bed now - I'll see if Hugh can pick this one up for you, if not I'll look in the morning

-Rob
 
Wow, great job. I just updated with github and it works like a charm.

Fabrik is awesome as usual. =] Thank you for taking the time to fix this bug. It means a lot to me and everyone else.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top