• Resolved nfong

    (@nfong)


    Been using Pods 2.7.31. Tried to upgrade to 2.9.11.1 and notice issues concerning specific fields. Isolating it further, we see if you try to Edit Pods on specific Pod – Custom Taxonomy – Table – it shows only 1 field, not 5 fields that exist

    Back testing: This issue happens starting with Pods 2.8.

    Details put on github

    https://github.com/pods-framework/pods/issues/7007

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Try going to Pods Admin > Settings > Tools and running the Repair tool for that pod. Let us know if you see any results from that. It could help us determine what the long term solution for the fix is.

    The migration for individual pod configurations from Pods 2.7.x to Pods 2.8.x normally happens when you go to edit that pod for the first time. Perhaps there was an issue that did not finish running that.

    The results of that repair process should give us complete insight into what went wrong there.

    Thread Starter nfong

    (@nfong)

    Updating 2.7.31 to 2.9.11.1, Use Tools – Repair the messed up pod. The pod and its fields now shows up okay in Edit Pods.

    Code we use to lookup a field in this pod – is returning 0. Need to investigate cause.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Do you recall what that it said it repaired during that process?

    Thread Starter nfong

    (@nfong)

    The message was Reassigned fields with invalid groups.

    Screenshot uploaded to github issue.

    I did this on a staging server, I haven’t repair the production server and can dump any data that may be of use to diagnose the 2.8 upgrade process.

    • This reply was modified 1 year, 9 months ago by nfong.
    Thread Starter nfong

    (@nfong)

    This doesnt work in 2.8, but is ok in 2.7.31. Did syntax change?

    $deal->field(‘category.parent’);

    • This reply was modified 1 year, 9 months ago by nfong.
    • This reply was modified 1 year, 9 months ago by nfong.
    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    I’m not seeing any syntax change there on our side. Can you confirm that’s a Custom Post Type pod with an associated taxonomy set for Categories? Or is that a Category relationship field?

    Thread Starter nfong

    (@nfong)

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Can you clarify what pod type your “deal” is and how the relationship between “deal” and your “category” taxonomy is set up? Is that a relationship field or is that an “Associated Taxonomy” for the post type?

    $deal->field('category.parent')

    In your code, is that expecting it to return the category parent ID or something else?

    Thread Starter nfong

    (@nfong)

    Deal pod – Category field is field type Relationship > Pod Categories

    (Nothing set in the Related to field)

    In your code, is that expecting it to return the category parent ID or something else?

    Under 2.7.31 this returns the integer category number of the parent of this deals category.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Fixed in Pods 2.9.12

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Updating 2.7.31 -> Latest Version – Edit Pod has missing fields’ is closed to new replies.