• I added this issue to the BitBucket location but I thought it might be a good idea to add it here too.

    I noticed last night that a new project, using the plugin downloaded from www.ads-software.com, wasn’t populating data on edit.

    I have an older project where this functionality still works so I compared the code that is working on an older project to what I have in my current project and, other than the Gravity form ID that is being passed for edit, the code is exactly the same.

    My story, from here out, may be hard to follow but I’ve done my best to make it clear…

    At first, I thought it was a plugin conflict or related to the WordPress 4.0 update. I logged into the old project from last January and updated WordPress and plugins to agree with the versions of the new project. The forms were still being populated with form data at the old project after these upgrades were applied.

    This morning, I compared installed plugins at both the old and new project, looking for a possible conflict. The new project, where the form is not populating, has all the same plugins as the old project where the form is still populating. In fact, the project where the form is populating with data has several more plugins.

    Of course, I dug deeper and looked at the actual plugins folders for each project. The old project, where the form is populating, was running revision 0.6.3.0 of your plugin which I downloaded from Bitbucket last January.

    The new project, where the form is not populating, is running the newer version 1.2.13.

    When replaced version 1.2.13 of your plugin with version 0.6.3.0. The form at the new project populated with data again.

    Clearly version 0.6.3.0 of the plugin is very far behind the newer versions.

    I pulled my up SVN repository revision log to see what had changed with your plugin and when.

    I reverted the plugin state at the new project to version 1.2.10, which is the version of the plugin that I added to the new project from www.ads-software.com during the wee hours of the morning (1:00 A.M.) on September 9, 2014. At this release level, the form populates with data.

    I then reverted the plugin state at the new project to version 1.2.12, which became available on the afternoon of September 9, 2014. At this release level, the form did not populate with data.

    I then reverted to version 1.2.13, which was sent out in the update of September 13, 2014. At this release level, the form does not populate with data.

    I don’t want to run a production site with Revision 0.6.3.0 so I’ve reverted to Revision 1.2.10 at the new project, for now.

    I can see from this issues thread at BitBucket that Revision 1.2.12 caused problems for someone else and they have thanked you for Revision 1.2.13, which solved their problem. Revision 1.2.13 did not solve mine.

    How can I help you troubleshoot and resolve this? I have the code running Revision 1.2.13 up on a development domain but I won’t be sharing those credentials here. If you’d like to have login access, email me: marj (at) virtuallymarj.com

    https://www.ads-software.com/plugins/gravity-forms-post-updates/

Viewing 15 replies - 1 through 15 (of 15 total)
  • I’m having a similar issue. The form is not populating for some users. It seems to work fine for me, but the screenshots i have been sent from others show that it clearly does not populate for them.

    I was thinking that it was probably a permission level issue. But am only just starting to investigate.

    Ok. For me it is a matter of ‘contributors’ not having access to edit posts.

    When i switch my test user to ‘author’ status the form will populate, but switching back to ‘contributor’ the form will not.

    Thread Starter Marj Wyatt

    (@marjwyatt)

    When I did my testing, I was logged in as an admin so it is not related to a lesser role on the site.

    Not sure if I’m doing something wrong but it seems that I have the same issue of the form not being populated… The documentation is saying that all we need is the form, but what will that form have in it? How does the post meta get mapped to the form elements? Should it work by default?

    Nevermind the previous question! Of course, 2 minutes after I posted I realized how to do it by looking at the demo video of the initial plugin, “Gravity Forms – Update Post”. The info should be added to this one’s documentation as well.

    And to the original poster, didn’t mean to hijack your thread, but I thought I had the same issue with you.

    Plugin Author Jupitercow

    (@jcow)

    I need to test this. This is the only notice I have gotten on this. Sorry for the slow response, just a crazy couple weeks and traveling now… I will try to get to this as soon as I can which should be this week, but not likely today.

    So the issues still seems to be there but only when you use the edit link.

    If I use the [gravityforms id=”4″ update] within the body of the post or add it to the template it will populate fine, but if I use

    do_action('gform_update_post/edit_link', array(
        'post_id' => $post->ID,
        'url'     => home_url('/edit_post/'),
    ) );

    it will not populate the fields but the form will update the contents of the post with the values specified in the form…

    Thread Starter Marj Wyatt

    (@marjwyatt)

    How are we doing on this, @jcow? I just had to revert an update that I inadvertently did to the plugin.

    For the time being, I have specifically disabled updates for your plugin using this code:

    add_filter( 'site_transient_update_plugins', 'vm_filter_plugin_updates' );
    function vm_filter_plugin_updates( $value ) {
        unset( $value->response['gravity-forms-post-updates/gravityforms-update-post.php'] );
        return $value;
    }

    Seems i’m having exactly the same problem, no form field fetches data except the featured image shows on edit form.

    any update ?
    @marj does that means the older versions of the plugin work gret and populate data fine? if yes could you direct me to version no or possible fwd that very one ?

    Thread Starter Marj Wyatt

    (@marjwyatt)

    @kais12 – Based on my experimentation, yes. I had a very old version of the plugin working. It was the version that I downloaded from JupiterCow’s Bitbucket repository long before it was published here as a plugin in the WordPress repository. That is still working. It is v0.6.3.0.

    When the updated “broke” the plugin on another development, I backed it out and am still running v1.2.10 there. I disabled updates using the code that I posted above.

    Jake has not come back the last few times that I asked about it at BitBucket. We haven’t heard from him here for 3 months.

    Here’s that thread:
    https://bitbucket.org/jupitercow/gravity-forms-update-post/issue/32/form-is-not-populating-with-data

    @marj Thank you for such a quick reply. .
    Can ya forward me a copy of that version ?
    It would be so nice of ya

    Thread Starter Marj Wyatt

    (@marjwyatt)

    You can download it from here:
    https://www.ads-software.com/plugins/gravity-forms-post-updates/developers/

    Don’t forget to add the above code to disable updates of that plugin at your site.

    To disable updates, you can also just use the Disable Updates Manager plugin.

    Thread Starter Marj Wyatt

    (@marjwyatt)

    I try to avoid adding plugins when the code to accomplish the task is just a couple of lines, as in this case. ??

    Plugin Author Jupitercow

    (@jcow)

    I am really sorry to disappear. It was not my plan, but a few things got in the way. I am making updates now.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Update form is not populating’ is closed to new replies.