#355 closed defect (fixed)
New blog post disappears when formatted
Reported by: | Owned by: | John Hampton | |
---|---|---|---|
Priority: | normal | Component: | TracBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Akshay Guleria | Trac Release: | 0.9 |
Description
A new blog post disappears when I edit the post to add test formating like bolding words or adding bullets.The page exists otherwise though but doesnt appear in the blog posts anymore.
Attachments (0)
Change History (7)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by
The version of TRAC that I am using is Trac 0.9.4. The trac blog plugin that I am using is tracblogplugin-r751.zip. The following is the [blog] section in the trac.ini
[blog] date_format = %x %X history_days = 365 post_size = 102400 page_format = %d-%m-%Y_%H.%M new_blog_link = New Blog Post first_week_day = MONDAY default_tag = blog news events daily mark_updated = true
No I am not modify the values of the "Tag under" text box.
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 19 years ago by
give the latest update a try. I believe that this will fix the issue.
The issue was improper handling of multiple tags being specified in the default_tag
field. I was expecting them to be separated by commas. With your configuration, because the values are separated by spaces, it was taking the whole line as one tag. When you updated the page, the Tags module properly split the tags, but the blog plugin was looking for pages that contained the whole line as a tag itself.
The only reason this actually worked partially was do to a related bug in the new post module. See #334 for more details.
I fixed it so that now whitespace or commas should be sufficient to separate tag values.
comment:5 Changed 19 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Thank you for helping me out.I have installed the latest version of tracblogplugin.On doing so
working
- the new blog posts even edited are showing up fine
but there still seems to be a problem
problem
- all my previous posts have disappeared even those which were not edited
comment:6 Changed 19 years ago by
Ahh, yes :) There are two ways to fix this:
1) simply "edit" each of the previous posts. A simple "edit this page" and then "submit changes" should be enough. If not, make sure that there are commas in between the tags.
2) Modify the DB manually. In the tags table, if you do:
select * from tags;
you'll probably see some entries where there are multiple tags per row for a given page. There should only be one tag per row, so use your SQL-foo to correct that.
solution 1 is easier, but it will probably have the side effect of showing all posts as "Updated"
solution 2 is obviously harder and probably more tedious, but it will save the post from being marked "Updated"
Give one of those a try and let me know how it goes. If that solves the issue, please close this ticket as fixed
comment:7 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Yea it works:) thank you .
Can you please share your config?
Also, are you modifying the values of the "Tag under" box?