(if added to a topic by the user)

as the attachtables.pattern.tmpl is coded to assume there is only one on a topic. The twistie becomes non-unique, and I assume other bits fail.

ignoring that the META attach functionality is naf, it should still work :/

I've also noticed that the twistie button says 'Attachments 2 2' when there are 2 attachments

-- SvenDowideit - 28 Jan 2009

Can you add an example when more than 1 topic is involved?

-- ArthurClemens - 28 Jan 2009

I don't mean more that one topic is involved - simply take any topic that has an attachment, and add %META{"attachments"}% into the topic text.

yes, the twistie is broken - presumably because there are thus two with the same name/id.

-- SvenDowideit - 28 Jan 2009

I can fix this, but it is dependent on how Twisty works. When a remember parameter is passed, it stores the id in a cookie to determine if the twisty should be opened or closed on next visit. When I remove the id from the attachments, each topic attachment twisty will have its own state stored, instead of all attachment buttons. That will lead to unpredictable behaviour for attachment twisties.

To prevent this, I need to meddle with TwistyPlugin - see Item1729.

Should definitely not go in 1.0.7.

-- ArthurClemens - 15 Jun 2009

Fixed with Item1729. After all this was such a simple fix that it can safely go into 1.0.7.

-- ArthurClemens - 02 Sep 2009

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads