• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5286: BlogAddOn no longer accepts a posting title with periods in it

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension BlogAddOn Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I just upgraded to 4.2.0 and the latest TWiki:Plugins.BlogAddOn. Now I find that I cannot create a blog entry that has a period in the title. When I attempt to do so, TWiki treats the periods as sub-web designators. For example, if I try to use a title like "This.will.not.work" I get an error message that 'The "This/will/not" web does not exist.' I suspect that the fault is not so much the TWiki:Plugins.BlogAddOn itself, but that some change has occurred in the removeSpacesAndPunctuation() JS function it calls. I can get around this by not putting in the periods until after submittal, but I shouldn't have to work around the problem. Of course, putting slashes in the title causes the same problem. Also, it doesn't matter if hierarchical web support is on or off.

-- TWiki:Main/DavidBright - 24 Jan 2008

It could well be that the js function removeSpacesAndPunctuation is too strict, or should be enhanced for the add-on.

-- TWiki:Main.ArthurClemens - 24 Jan 2008

More like it doesn't delete enough. The add on tries to convert a blog entry title into a topic name. In order to do that, all the punctuation needs to be removed; there is no point in trying to do a hierarchical blog with this add on. It probably also should auto-capitalize each word, although I suppose that one is arguable.

-- TWiki:Main.DavidBright - 25 Jan 2008

I have fixed the issue. Change log:

Item5286: version 1.1 Adds the creation date to blog post topic names. Adds an Edit link to the Comments header in a blog post. Increases the height of the comment box. Bug fix: allow topic names with periods (convert to underscore).

-- TWiki:Main.ArthurClemens - 26 Jan 2008

Fixing a number of small template bugs...

-- TWiki:Main.ArthurClemens - 31 Jan 2008

ItemTemplate
Summary BlogAddOn no longer accepts a posting title with periods in it
ReportedBy TWiki:Main.DavidBright
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component BlogAddOn
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:16296 TWikirev:16323 TWikirev:16324 TWikirev:16328
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-01-31 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback