Item9933: ActionTracker edit task breaks Attachments
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release: n/a
I use the
CommentPlugin and Twisty to have both comments and actions in any Topic. I use a <div> and float left to keep buttons and entries aligned.
<!-- Do not edit below this line -->
<div style="float: left; width: 100%;">
---
%TWISTY{mode="div" showlink="%MAKETEXT{"Show Comments"}%" hidelink="%MAKETEXT{"Hide Comments"}%" linkclass="foswikiButton" remember="on" start="show"}%
%COMMENT{type="tableprepend"}%
%ENDTWISTY%
---
%TWISTY{showlink="%MAKETEXT{"View open tasks for this topic"}%" hidelink="%MAKETEXT{"Hide open tasks"}%" linkclass="foswikiButton" remember="off"}%
%ACTIONSEARCH{topic="%BASETOPIC%" state="open" sort="$due"}%
%ENDTWISTY% <br />
%TWISTY{showlink="%MAKETEXT{"View closed tasks for this topic"}%" hidelink="%MAKETEXT{"Hide Closed Tasks"}%" linkclass="foswikiButton" remember="off"}% %ACTIONSEARCH{topic="%BASETOPIC%" state="closed" sort="$due"}%
%ENDTWISTY%
---
%TWISTY{mode="div" showlink="%MAKETEXT{"Add Task"}%" hidelink="%MAKETEXT{"Hide (All) Tasks"}%" linkclass="foswikiButton" remember="on"}%
%COMMENT{ type="action"}%
%ENDTWISTY%
---
</div>
Test:
Create a new Topic with the above used for comments and actions.
Enter a comment.
Add a new task - write out long date as "6 November 2010" (to avoid issues with Action Tracker date processing).
Add an attachment
View open tasks for the topic and "edit" the action to change the date to say 7th November (using the pop up JS calendar).
Review attachment area.
--
BobCorless - 01 Nov 2010
UPDATE:
Removing the divs from around the COMMENTS and TWISTYs allows the Action edit to function properly without breaking the atatchments.
These divs worked fine in 1.0.9 and I had them in the default new topic template. They are in all my topics. I am loathe to have to change these manually and would prefer if 1.1.1 functioned as 1.0.9!
Note: Adding a "COMMENT" at the bottom of this topic fails to insert properly:- it just inserted two attempts to update this by placing my text in the verbatim area.
--
BobCorless - 01 Nov 2010
I have seen something similar, but in 1.0.9. I haven't been able to replicate it though, it just seems to happen on a few topics.
Also,
Item9083 looks to be a similar issue.
--
AndrewJones - 02 Nov 2010
Item9083 is definitely the same. Must've missed that.
On further investigation I too can confirm (as in
Item9083) that the
ActionTracker is removing new lines at the end of the topic and any subsequent info is shunted up one line. First save/change and the "normal" blank line is remove without detriment. A subsequent change and the line is effectively shunted up to the end of the last line of text in the topic body.
--
BobCorless - 03 Nov 2010
I've closed this task.
Item9083 is fixed, so hopefully this is fixed as well. Please reopen if that's not the case.
--
GeorgeClark - 06 Dec 2010