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

Item5962: Action Tracker breaks table

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ActionTrackerPlugin Enhancement New   n/a  

Edit Form Data

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

Detail

-- TWiki:Main/ChrisHogan - 26 Aug 2008

I have a topic which creates a list of actions such as:


%ACTION{ closed="" closer="Main.ChrisHogan" created="2008-08-13" creator="Main.ChrisHogan" due="2008-09-03" notify="" state="open" uid="000353" who="Main.ChrisHogan" }% fill in an *Asset Register* Public.CompanyAssetsRegister for HMW %ENDACTION%<br />%ACTION{ closed="" closer="" created="2008-08-13" creator="Main.ChrisHogan" due="2008-09-04" notify="" state="open" uid="000354" who="Main.ChrisHogan" }% Read Nonconforming Services and Products [[ISO9000.HandlingServiceFailure][PCG QS 004]] & ISO9000.DocumentControl - %ENDACTION%<br /><br />

If I do something simple like change the date (via the edit link) a blank line is inserted between the actions, breaking the table in two. I seems to occur if the line length is changed? As sometimes editting the text is fine, but one most occasions the blank is added.

This happens on our installation, as well (Twiki 4.2.0, Action Tracker Rev 16778, Firefox 3.0, IE 7). I can get this error by editing (via the Action Tracker editor) and saving - don't need to add any text, though I also get the error if I add or change text in one of the fields. There is nothing relevant in the Apache Error logs, nor anything relevant in the TWiki logs.

-- TWiki:Main.NinaGlatt - 09 Sep 2008

I have actually had it happen just changing the date - but I've also another similar table which (so far) hasn't had the problem. I cannot find anything different between to two action sets to give me any idea why it behavesi n this way. It started with the upgrade to TWiki 4.2 & the new Action Tracker.

-- TWiki:Main.ChrisHogan - 10 Sep 2008

We have three issue trackers, each customized in the same way except for the values for the headers, and perhaps an extra column here or there. All three have this symptom. I've attached the text from the topic preferences page in the hopes that someone can spot something I can't; I've had trouble with it before (the preferences disappear from the topic pref page and are appended with the action item to the topic itself).

-- TWiki:Main.NinaGlatt - 10 Sep 2008

Does the text in your actions wrap round? I think that if all my actions fit on one line, then it works, but if one (any one) is more than one line, then an extra return is added after the ENDACTION. If so that's 100% a bug

-- TWiki:Main.ChrisHogan - 11 Sep 2008

I have found:

$text = "$pretext$text\n$posttext";

on 310 of ActionTrackerPlugin - correct me if I'm wrong, but doesn't that deliberately insert a return where none was present before?

-- TWiki:Main.ChrisHogan - 11 Sep 2008

All of my actions wrap (without any content - just the attributes- each item is longer than one line). If I edit the topic so one of the actions can fit onto one line, and then edit that action using the item edit link, no newline is inserted.

As far as line 310 goes: I agree it's inserting a newline that wasn't previously there. However, I don't know perl so I couldn't tell you how that line affects the plugin.

-- TWiki:Main.NinaGlatt - 11 Sep 2008

My Perl's a bit ropey, but I think I might have a go at editting this & seeing what happens...

-- TWiki:Main.ChrisHogan - 12 Sep 2008

Well, simply taking out the "\n" seems to fix the problem...

-- TWiki:Main.ChrisHogan - 13 Sep 2008

Hm. I'll try that. Thanks!

-- TWiki:Main.NinaGlatt - 16 Sep 2008

ItemTemplate
Summary Action Tracker breaks table
ReportedBy TWiki:Main.ChrisHogan
Codebase 4.2.1
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Extension
Component ActionTrackerPlugin
Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt Topic_Preferences.txt r1 manage 1.7 K 2008-09-10 - 15:54 NinaGlatt Topic preference page for an instance of ActionTracker which shows the symptoms described above.
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2008-09-16 - NinaGlatt
 
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