Mingwei Posted November 18, 2021 Share Posted November 18, 2021 (edited) Was editing an old workflow made for Alfred 2 when I encountered this bug. I definitely don't expect this to be fixed since the XML format has long been deprecated, but I figured I'd report it anyway just in case, since it could break a number of old workflows. Alfred version: 4.6 [1266] macOS version: 12.0.1 Replicated it using the example XML from Alfred's support pages. Only 'fruit' is passed on, while 'vegetable' is left out: [00:43:49.179] Logging Started... [00:43:52.017] Advanced Script Filters - Getting Started[Script Filter] Queuing argument '' [00:43:52.094] Advanced Script Filters - Getting Started[Script Filter] Script with argv '' finished [00:43:52.101] Advanced Script Filters - Getting Started[Script Filter] <?xml version="1.0"?> <output> <variables> <variable name="fruit">banana</variable> <variable name="vegetable">carrot</variable> </variables> <items> <item arg="Placeholder item"> <title>Placeholder item</title> </item> </items> </output> [00:43:52.918] Advanced Script Filters - Getting Started[Script Filter] Processing complete [00:43:52.919] Advanced Script Filters - Getting Started[Script Filter] Passing output 'Placeholder item' to Debug [00:43:52.921] Advanced Script Filters - Getting Started[Debug] Output from Script: 'Placeholder item' Variables: { fruit = "banana" } Edited November 18, 2021 by Mingwei Link to comment Share on other sites More sharing options...
vitor Posted November 18, 2021 Share Posted November 18, 2021 I can reproduce on Alfred 4.6 [1270] and macOS 11.6 (20G165). The first listed variable is the one that gets passed. Link to comment Share on other sites More sharing options...
Andrew Posted November 20, 2021 Share Posted November 20, 2021 Well spotted, I'll fix this in the next build (1 line change, low risk). Cheers, Andrew Link to comment Share on other sites More sharing options...
Andrew Posted November 21, 2021 Share Posted November 21, 2021 This should now be fixed in b1271 pre-release Mingwei 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now