RELATIONSHIP NOT SAVED WITH POST
Support › MB Relationships › RELATIONSHIP NOT SAVED WITH POSTResolved
- This topic has 20 replies, 8 voices, and was last updated 11 months, 3 weeks ago by
Peter.
-
AuthorPosts
-
May 23, 2023 at 5:55 PM #41883
Filippo Ponzetti
ParticipantHi All,
I'm having an issue with relationships that I never had before. I have two CPTs, Testimonials and Services and I have created a relationship between them, I can see and choose the related CPT when choosing the connection, but it is not saved once I update the post.
Am I missing something?
(Reciprocal is not tricked)
TIA
May 23, 2023 at 8:11 PM #41890RJ Laan
ParticipantHi Filippo,
I might have ran into the same issue.
I created a relationship between users and a custom posttype today and same thing, after selecting a user and updating the post, the edit post page reloads, but the selected user is not showing.
I examined the database, the data is getting saved, but somehow the code is not picking up the saved value, so the next time around the metabox is unselected again.
Hope someone from the Metabox team is able to investigate this issue
Thanks,
RuudMay 23, 2023 at 8:16 PM #41891Filippo Ponzetti
ParticipantHi Ruud,
I have asked the same on the Facebook Group and the Metabox team replayed assuring that they will investigate as it looks like something related to the latest plugin update.
Thanks for your reply,
FilippoMay 23, 2023 at 8:20 PM #41892RJ Laan
ParticipantHi Filippo,
I quickly tested a setup with 2 connected posts and same deal too, is getting stored in database, but does not show in admin after update and reload.
I'll test a previous plugin version next.May 23, 2023 at 8:26 PM #41894RJ Laan
ParticipantYes! verified, the previous version (5.6.18) works normally.
Hope this helps you too.
Thanks,
RuudMay 23, 2023 at 8:30 PM #41895Peter
ModeratorHello,
Our development team is aware of this issue and working on it. This issue will be fixed in the next update. Thanks.
May 23, 2023 at 8:31 PM #41896Filippo Ponzetti
ParticipantThanks,
I will downgrade util fixed.
Cheers,
FilippoMay 23, 2023 at 8:48 PM #41900RJ Laan
ParticipantHi Peter,
Thanks for reaching out.
Just so you are aware, when opening a post with existing relations and the latest Metabox version (5.7.0), as a result none of the existing relations will show.
The user editing the post might not notice this and when saving the post, all the relations for that post are effectively removed from the database.I hope the team is able to give this a high priority because this potentially will affect a lot of people.
Thanks,
RuudMay 23, 2023 at 8:56 PM #41901rikmulder
ParticipantJust noticed I have the same issue. Luckily I just saved one post because my site depends on these relationships. Will downgrade till it's fixed. Good luck fixing it...
May 24, 2023 at 4:38 PM #41914RJ Laan
ParticipantHi Rik, Filippo,
I tested version 5.7.1 and that worked for me 🙂
Cheers!
RuudMay 24, 2023 at 4:42 PM #41915rikmulder
ParticipantYep, everything is working again. Thanks for the quick fix!
Regards,
RikMay 24, 2023 at 7:30 PM #41916Peter
ModeratorThanks for your confirmation.
May 24, 2023 at 9:42 PM #41924Filippo Ponzetti
ParticipantI can also confirm that everything is working again.
Thanks for speedy fix,
FilippoOctober 19, 2023 at 9:14 PM #43561Elene Gabelaia
ParticipantHello,
I have the latest Metabox version (5.8.2) with the same issue of relationship between two CPTs not saving.
Here is the link to the JSON of the relationship: https://drive.google.com/file/d/1h6Bk2fByoGpzpAjT7GSuffs8HQoBuWpU/view?usp=sharing
Can you help?
Kind regards,
FrancescoNovember 10, 2023 at 12:32 AM #43777Dylan Hinks
ParticipantLike Elene, this was also never resolved for me. I have a relationship set up for two custom post types: Books and Reviews, and when I update then refresh, it disappears.
-
AuthorPosts
- You must be logged in to reply to this topic.