[PSS 2017][Bug] Splatting with method calls

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Bosparan
Posts: 290
Last visit: Fri Oct 08, 2021 11:59 am

[PSS 2017][Bug] Splatting with method calls

Post by Bosparan »

PSS Version: 2017 5.4.141 x64
OS Version: Windows 10 x64 Creators Update
WMF Version: 5.1

Impact: Low

Symptom:
Splatting a command call will produce a corrupted result, when one or more than one parameter includes a method call.

Reproducibility:
Paste the following line, then use the auto-splat on it:
  1. Get-Test -Foo $bar.ToString()
Btw: Thanks for adding the key-binding. When it doesn't encounter this issue it's awesome :)
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: [PSS 2017][Bug] Splatting with method calls

Post by davidc »

Thank you for reporting this and I will get back to you as soon as I have an update.
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: [PSS 2017][Bug] Splatting with method calls

Post by davidc »

The issue will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: [PSS 2017][Bug] Splatting with method calls

Post by davidc »

Please try the latest service release (v5.4.142) and let us know if the issues persists.
David
SAPIEN Technologies, Inc.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.