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

blog: changes lost to posted blog entry after preview (Trac #1833) #1833

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 12 comments
Closed

blog: changes lost to posted blog entry after preview (Trac #1833) #1833

elgg-gitbot opened this issue Feb 16, 2013 · 12 comments
Labels
Milestone

Comments

@elgg-gitbot
Copy link

Original ticket http://trac.elgg.org/ticket/1833 on 39922939-06-29 by cash, assigned to unknown.

Elgg version: 1.7

  1. write and publish blog post
  2. edit blog post and change some text
  3. preview post
  4. click return to post and your changes are gone
@elgg-gitbot
Copy link
Author

brettp wrote on 40659276-09-01

Looks like this was fixed in sometime in 1.7.1/2.

@elgg-gitbot
Copy link
Author

Milestone changed to Elgg 1.8 by brettp on 40659276-09-01

@elgg-gitbot
Copy link
Author

cash wrote on 40659636-11-27

It works in Chrome but not in Firefox (and possibly not in IE)

@elgg-gitbot
Copy link
Author

brettp wrote on 40774095-01-16

Not sure why this got pushed to 1.8, but 1.8 uses a new blog that saves drafts instead of previewing, so this won't be a problem. Moving this down to 1.7.4, which does still have the bug.

@elgg-gitbot
Copy link
Author

Milestone changed to Elgg 1.7.4 by brettp on 40774095-01-16

@elgg-gitbot
Copy link
Author

brettp wrote on 40774356-09-01

(In [svn:7041]) Fixes #1833: Saving a blog draft saves the blogguid to the session to avoid problems when pulling in drafts on existing blog posts.

@elgg-gitbot
Copy link
Author

trac user kevinjardine wrote on 41189510-09-15

The blogguid fix has unfortunately introduced a new bug as described here:

http://community.elgg.org/pg/forum/topic/661881/empty-title-and-contents-when-editing-blog/

To fix this problem, add:

remove_metadata($_SESSION['user']->guid,'blogguid');

after line 69 of

mod/blog/actions/edit.php

@elgg-gitbot
Copy link
Author

trac user kevinjardine wrote on 41189513-05-26

That should be:

remove_metadata($_SESSION['user']->guid,'blogguid');
}}

to keep Trac happy.

@elgg-gitbot
Copy link
Author

trac user kevinjardine wrote on 41189514-11-21

Third time lucky:

remove_metadata($_SESSION['user']->guid,'blogguid');

@elgg-gitbot
Copy link
Author

cash wrote on 41204799-11-09

Thanks for tracking this down, Kevin!

@elgg-gitbot
Copy link
Author

Milestone changed to Elgg 1.7.8 by cash on 41204799-11-09

@elgg-gitbot
Copy link
Author

cash wrote on 41204826-11-08

(In [svn:8726]) Fixes #1833 clearing the blog guid metadata when saving an edited blog post

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

No branches or pull requests

1 participant