Conversation
supportAs of 3.0.3 duplicating a TEC event does not work (worked before, not sure which version broke it) * If I do copy the meta (one would expect that I should), the event gets seemingly duplicated, but the time/date is incorrect, and if I try to edit, TEC reports an error “Updating failed. Could not update the meta value of _EventAllDay in database.” * If I do not copy the meta, it creates a shadow event, but that does not show up on the live site (kind of expected as I did not copy the meta… ) This topic was modified 4 months, 4 weeks ago by gligeti . The page I need help with: [ log in to see the link]
@gligeti thanks for letting me know! I’ll take a look into this today and resolve the issue.
@gligeti I just released an update (v3.0.4) that should resolve this. I also added a post types settings to enable/disable post types from having the duplication functionality. Let me know if you have any questions.
Still not quite right. I still get the error “Updating failed. Could not update the meta value of _EventAllDay in database” with 3.0.4 (after I try to edit a duplicated a TEC event). Steps to reproduce: Create a TEC (free version) event, say Jan 25 17:00-18:00. Save. Then use Duplicate Event. Go and edit the duplicated event and change the event date to say Jan 26, save/Publish — you will get the error. It may seem to stick, but editing again and changing the date throws the error again, AND it does not show up in certain public pages (depending on the query) or not at the right date etc. I can of course disable it for TEC events, but it was working not so long ago and was quite convenient…
Thanks for letting me know. I previously tested while editing in Classic mode, but I do still see the issue when editing in Gutenberg. I have spent some time this morning working out the issue and I believe I pretty much have it resolved, but I want to spend some more time testing before releasing another update. I should have something out in the next day or 2 that will put things right.
@gligeti I just released version 3.0.5 which should resolve your issues. Let me know how it works out after you get a chance to check it out.
3.0.5 seems to work fine for the TEC events: I duplicated the event, it 1) retained the event date correctly in the copy and all other properties I could see 2) I could edit the date/time and saved successfully, 3) the published duplicate shows up correctly on the live site in various queries. I did not do more extensive tests (I did not test it for TEC venues and organizers, just FYI TEC also has those types too implemented as post types, you may want to check/test those too) just the events, but it works for what I use it for. Thanks for the quick turnaround.
Thanks for confirming! I appreciate the help and feedback!
@gligeti thanks for letting me know! I’ll take a look into this today and resolve the issue.
@gligeti I just released an update (v3.0.4) that should resolve this. I also added a post types settings to enable/disable post types from having the duplication functionality. Let me know if you have any questions.
Still not quite right. I still get the error “Updating failed. Could not update the meta value of _EventAllDay in database” with 3.0.4 (after I try to edit a duplicated a TEC event). Steps to reproduce: Create a TEC (free version) event, say Jan 25 17:00-18:00. Save. Then use Duplicate Event. Go and edit the duplicated event and change the event date to say Jan 26, save/Publish — you will get the error. It may seem to stick, but editing again and changing the date throws the error again, AND it does not show up in certain public pages (depending on the query) or not at the right date etc. I can of course disable it for TEC events, but it was working not so long ago and was quite convenient…
Thanks for letting me know. I previously tested while editing in Classic mode, but I do still see the issue when editing in Gutenberg. I have spent some time this morning working out the issue and I believe I pretty much have it resolved, but I want to spend some more time testing before releasing another update. I should have something out in the next day or 2 that will put things right.
@gligeti I just released version 3.0.5 which should resolve your issues. Let me know how it works out after you get a chance to check it out.
3.0.5 seems to work fine for the TEC events: I duplicated the event, it 1) retained the event date correctly in the copy and all other properties I could see 2) I could edit the date/time and saved successfully, 3) the published duplicate shows up correctly on the live site in various queries. I did not do more extensive tests (I did not test it for TEC venues and organizers, just FYI TEC also has those types too implemented as post types, you may want to check/test those too) just the events, but it works for what I use it for. Thanks for the quick turnaround.
Thanks for confirming! I appreciate the help and feedback!