On Thu, Apr 8, 2021 at 12:50 PM TW Tones <[email protected]> wrote:

> Mohammad,
>
> I reproduced this my self also in preview mode of FieldMangler Widget
> (Examples <https://tiddlywiki.com/#FieldMangler%20Widget%20(Examples)>)
> on tiddlywiki.com.
>

Ah yes, Tiddlywiki has the same example!

>
> This is without creating a new tiddler.
>
> Yes, I think it is a bug, perhaps as a result of the tiddler being in
> draft mode, the changes "also" occur on the draft tiddler which is then
> saved.
>

Thank you! I submit a bug report on GitHub

>
> Tones
>
>
> On Thursday, 8 April 2021 at 17:38:46 UTC+10 Mohammad wrote:
>
>> 1. Open https://tiddlywiki.com/
>> 2. Create a new tiddler with below text
>>
>>
>> <$button>Tag me
>> <$fieldmangler tiddler=MyTiddler>
>> <$list filter="one two" variable=item>
>> <$action-sendmessage $message="tm-add-field" $param=<<item>>/>
>> </$list>
>> </$fieldmangler>
>> </$button>
>>
>> 3. don't save and open preview pan
>> 4. click on the button
>> 5. MyTiddler is created and fields are added but surprisingly the fields
>> also added to the tiddler in preview!!
>>
>> The same happened with `tm-add-tag`
>>
>> Note: If you save the tiddler and click the button, you wont see the
>> above issue!
>>
>> Expected behavior: the operation shall only be applied to the tiddler
>> mentioned in fieldmangler widget!
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e018d6a0-6a12-4f0b-b13a-d22936000206n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/e018d6a0-6a12-4f0b-b13a-d22936000206n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDqLOBKbD0h3aG2Vd6Kc57e04Jm%2B_Vowpx5k%3DzvanJKSw%40mail.gmail.com.

Reply via email to