[PSS 2018][Bug] File Template for non-ps1 files

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
Bosparan
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

[PSS 2018][Bug] File Template for non-ps1 files

Post by Bosparan » Fri Oct 12, 2018 2:22 am

PSS Version: 2018 5.5.155x64
OS Version: Windows 10 x64 1803
WMF Version: 5.1

Impact: Minor

Symptoms:
Creating a file template for another file type works just fine and will show up in the file selection options.
However, when trying to create a file from that template, it will just silently fail.

Reproducibility:
Create a new file template with an empty file named 'Markdown File.md'
Create the templatefile 'Markdown File.md.pstemplate' with the following content:
  1. <Template version="1.0" type="File" tags="md">
  2.  
  3.   <Description>Creates a empty md file.</Description>
  4.  
  5.   <Company>Infernal Assocates Ltd.</Company>
  6.  
  7. </Template>
Then try to create a file from this template.

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

Re: [PSS 2018][Bug] File Template for non-ps1 files

Post by davidc » Fri Oct 12, 2018 7:45 am

It doesn't load because PowerShell Studio isn't aware of the file type. We will investigate further and see what we can do.
David
SAPIEN Technologies, Inc.

User avatar
Bosparan
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

Re: [PSS 2018][Bug] File Template for non-ps1 files

Post by Bosparan » Fri Oct 12, 2018 8:57 am

Just to be sure in case you are referring to 'Synchronized' and files showing up in the project view:
Synchronization is enabled, this is my File Filter: *.*
It is not created in the folder at all.

Regular md files show just fine :)

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

Re: [PSS 2018][Bug] File Template for non-ps1 files

Post by davidc » Fri Oct 12, 2018 11:50 am

This issue will be resolved in the next service release. Synchronization is not related in this case.
David
SAPIEN Technologies, Inc.