'Edit Function' feature will auto insert single quotes

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
xav197
Posts: 33
Joined: Thu Apr 08, 2010 8:02 am
Location: Montreal, QC, Canada
Contact:

'Edit Function' feature will auto insert single quotes

Post by xav197 » Tue Mar 29, 2016 5:44 pm

Product, version and build: 5.2.118
32 or 64 bit version of product: 64
Operating system: Win8.1
32 or 64 bit OS: 64

PowerShell version: 5.0.10586.117

Hello Sapien team,

After using the "Edit Function" feature, I noticed in the PARAM() block, it will always add those single quote on my default values.
See the screenshot below. Is it possible to disabled that ? Sorry if I missed the option.

Thanks

Image
Francois-Xavier Cat
PowerShell MVP/SAPIEN MVP

User avatar
DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: 'Edit Function' feature will auto insert single quotes

Post by DevinL » Tue Mar 29, 2016 5:52 pm

Thanks for reporting this, I'll forward it to the development team as this appears to be a bug.
DevinL
SAPIEN Technologies, Inc.

User avatar
davidc
Posts: 5888
Joined: Thu Aug 18, 2011 4:56 am

Re: 'Edit Function' feature will auto insert single quotes

Post by davidc » Wed Mar 30, 2016 8:08 am

The issue will be resolved in the next service release.

David
David
SAPIEN Technologies, Inc.

User avatar
xav197
Posts: 33
Joined: Thu Apr 08, 2010 8:02 am
Location: Montreal, QC, Canada
Contact:

Re: 'Edit Function' feature will auto insert single quotes

Post by xav197 » Wed Mar 30, 2016 2:25 pm

Thanks guys, Keep the great work!
Francois-Xavier Cat
PowerShell MVP/SAPIEN MVP