History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BLOJSOM-104
Type: Bug Bug
Status: Closed Closed
Resolution: Not A Bug
Priority: Major Major
Assignee: David Czarnecki
Reporter: Nicola Piccinini
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
blojsom

with tinymce, updating blog entries changes their permalink

Created: 09/Nov/05 10:36 AM   Updated: 09/Nov/05 12:14 PM
Component/s: blojsom core
Affects Version/s: blojsom 2.27
Fix Version/s: None

Browser: mozila 1.7.12 but I think it is not influential
Application Server: tomcat 4.0.5 but I think it is not influential
JDK Version: 1.4.2_10 but I think it is not influential
O/S Version: debian etch but I think it is not influential


 Description  « Hide
if one uses the tinymce templates, he does a mess when update an entry:
the .meta is deleted,
the .html file is renamed: bla.html becomes bla-1.html

Debugging the code I've seen that blogEntry.getBlogCategory() returns something like:

_blogCategory= FileBackedBlogCategory (id=309)
_blogEntry= null
_blogUser= null
_category= null
_categoryURL= "http://localhost:8080/blojsom/blog/default/null"
_description= null
_logger (FileBackedBlogCategory)= Log4JLogger (id=281)
_logger (BlogCategory)= Log4JLogger (id=282)
_metadata= null
_name= null
_parentCategory= null
_subcategories= ArrayList (id=319)

probably this is the source of the problem

 All   Comments   Change History      Sort Order:
David Czarnecki - [09/Nov/05 10:47 AM ]
Are you using the updated TinyMCE templates for blojsom 2.27?

http://sourceforge.net/project/showfiles.php?group_id=72754&package_id=151591

There is an added field to capture category data if someone is changing the category for a blog entry. This was the issue and the resolution as noted from a similar thread on the mailing list.

http://sourceforge.net/mailarchive/forum.php?thread_id=8872722&forum_id=31980


Nicola Piccinini - [09/Nov/05 11:27 AM ]
I'm already using tinymce-blojsom-templates.zip in http://sourceforge.net/project/showfiles.php?group_id=72754&package_id=151591 :-(
I further investigate on the issue: if the entry is in "/" category then it is renamed else it is pushed in the parent category.

David Czarnecki - [09/Nov/05 11:41 AM ]
Right, however there are TinyMCE templates specifically for blojsom 2.27 (and versions thereafter) posted to the SourceForge download section. Since you're using blojsom 2.27, you'll need to download and use those templates.

http://prdownloads.sourceforge.net/blojsom/tinymce-blojsom-2.27%2B-templates.zip?download

Nicola Piccinini - [09/Nov/05 12:00 PM ]
opss, sorry, I'm stupid. Now everything is ok, thanks.
Anyway I recommend to update http://wiki.blojsom.com/wiki/display/blojsom/WYSIWYG+Editing+Templates adding a note on the different versions of these templates. In fact at first I was confounded by that page.

David Czarnecki - [09/Nov/05 12:14 PM ]
No problem. I added a note to that page on the wiki about blojsom 2.27+ and TinyMCE.