• 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.

Item4871: "Create personal sidebar" - default sidebar is created with broken links

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Urgent Closed   minor 4.2.0

Edit Form Data

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

Detail

The edit link is leaving a

/twiki/bin/edit/Main/LeftBar?t=1193004862">edit

behind.

Example at LitterTray.Item4871LeftBarExample.

Related: We could probably benefit from having more "simple" default links in the sidebar.

-- TWiki:Main/SteffenPoulsen - 21 Oct 2007

Thoughts:

  • How to handle existing sidebars? (A wysiwyg edit of existing sidebars leaves the same trail as above)
  • Any changes to format in WebLeftBarPersonalTemplate should be reflected in examples at WebLeftBarExample, WebLeftBarCookbook and related

-- TWiki:Main.SteffenPoulsen - 22 Oct 2007

I'm not clear what you are reporting here. Are you saying that a WYSIWYG edit of TWiki.WebLeftBarPersonalTemplate (who thinks up these names?) is saving something that is breaking some TML in that topic?

Later: There is an HTML link in that topic that is unprotected by either sticky or literal tags, and contains TWiki variables so is unparseable by the translator. Protect the <sticky="">..</sticky> tags, or use a TML (square bracket) link.

Reattributed to Documentation.

CC

That will work OK for future personal sidebars I guess. Any ideas on the existing ones (to provide an example, we have ~100 in our installation)?.

-- TWiki:Main.SteffenPoulsen - 27 Oct 2007

What is going on in TMCE? See this topic in raw view.

Changed back from Documentation to TMCE and no longer waiting for feedback. We cannot document our way of of this.

KJL

How do you know it was TMCE? Exactly what steps did you go through to create the problem?

CC

How do I know? It is only TMCE / Wysiwyg that would add these stange tags. I can never tell if it is one or the other. I guess.

What did I do? Nothing. I actually hit Edit Raw and saw that the mysterious tags were already there. And now they are actually gone again. Maybe you removed them.

But that was just a remark and I did not open a new bug because I had not generated that funny problem myself.

The changed I made in the bug form was for the original bug: personal side bars are corrupted when edited with TMCE (not raw). Since no admin wants to edit hundreds of side bars adding sticky tags - this needs to be addressed in the WysiwygPlugin / TMCE and not by documenting the problem and that is why I flipped from Documentation to TMCE. You as the expert may find it is WysiwygPlugin that needs to be fixed.

KJL

The only thing I can suggest is to set WYSWIYG_EXCLUDE = html - which of course would disable WYSIWYG on any topic containing raw HTML. I suspect this would be a bit draconian for the sake of the sidebar topics, though.

This is a fundamental problem with TML, and I'm really not sure I can do anything about it. I will try. As I understand it this only impacts the editing of existing sidebar topics, as you have already fixed the template, right?

Later: after much experimentation I decided the only sensible solution is to treat A tags as unpalatable, and treat them as protected, always. For most users (who use TWiki links and not HTML links) this is best.

CC

Thanks for fix. Looks like sain solution. Merged to MAIN. Closing

KJL

ItemTemplate
Summary "Create personal sidebar" - default sidebar is created with broken links
ReportedBy TWiki:Main.SteffenPoulsen
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component WysiwygPlugin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15437 TWikirev:15441
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2007-10-31 - KennethLavrsen
 
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