Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync bug #20

Closed
c3cilia opened this issue Aug 18, 2016 · 3 comments
Closed

sync bug #20

c3cilia opened this issue Aug 18, 2016 · 3 comments
Assignees

Comments

@c3cilia
Copy link

c3cilia commented Aug 18, 2016

For some reason one particular post "design-3" seems to be created different in the local wordpress when doing a pull.


Pull: post
**** Tried to save, but that changed the revision, slug=design-3
**** Remote:
{
"post_name": "design-3",
"post_title": "2D Graphics and Animations",
"post_type": "page",
"post_content": "[course-listing]",
"post_excerpt": "This track covers 2-dimensional graphics and animation tutorials: raster, vector and free hand-drawn objects.",
"post_status": "publish",
"post_parent": "design",
"menu_order": 0,
"meta": []
}
**** Local:
{
"post_name": "design-3",
"post_title": "2D Graphics and Animations",
"post_type": "page",
"post_content": "[course-listing]",
"post_excerpt": "This track covers 2-dimensional graphics and animation tutorials: raster, vector and free hand-drawn objects.",
"post_status": "publish",
"post_parent": "",
"menu_order": 0,
"meta": []
}
** Error **
design-3: Local revision differ from remote after create.
#0 /home/cess/Documents/tizi/my-wp-theme/wp-content/plugins/wp-remote-sync/src/controller/RemoteSyncOperations.php(161): SyncResource->createLocalResource()
#1 [internal function]: RemoteSyncOperations->pull()
#2 /home/cess/Documents/tizi/my-wp-theme/wp-content/plugins/wp-remote-sync/src/controller/RemoteSyncOperations.php(42): call_user_func(Array)
#3 /home/cess/Documents/tizi/my-wp-theme/wp-content/plugins/wp-remote-sync/op.php(16): RemoteSyncOperations->handleOperation('Pull')
#4 {main}

@c3c1l1a c3c1l1a closed this as completed Aug 18, 2016
@c3c1l1a c3c1l1a reopened this Aug 18, 2016
@c3c1l1a c3c1l1a added the bug label Aug 18, 2016
@c3c1l1a
Copy link
Member

c3c1l1a commented Sep 19, 2016

image

Another similar bug.

@limikael
Copy link
Contributor

Both of these should be fixed on this branch:

https://github.com/tunapanda/wp-remote-sync/tree/sync_h5p_by_package

However... I will wait a bit to merge it in, since the protocol has changed a bit, I.e. both the local and the remote needs the new version of the plugin.

@limikael
Copy link
Contributor

So should be fixed! Please verify @c3c1l1a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants