Actions
Bug #24938
openGeneration does not verify that string template source files exists
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
In a technique, if I reference a template file, commit a file matching its destination (OUTPATH) but forgot to commit the source of the template, the generation will succeed and deploy the commited file found at OUTPATH.
The generation should verify that both source and destination exist when using templates.
To reproduce, for instance with a windows directive:
<TML name="windows/System-UpdateCampaignCore.ps1"> <INCLUDED>false</INCLUDED> <OUTPATH>windows/System-UpdateCampaignCore.ps1</OUTPATH> </TML> </TMLS>
Add this to an existing technique, and commit an empty file under "windows/System-UpdateCampaignCore.ps1" and do not commit one named "windows/System-UpdateCampaignCore.ps1.st" (the expected source).
The generation will succeed.
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 8.0.9 to 8.0.10
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 8.0.10 to 1089
Updated by Alexis Mousset 5 months ago
- Target version changed from 1089 to 8.1.6
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 8.1.6 to 8.1.7
Updated by Vincent MEMBRÉ 3 months ago
- Target version changed from 8.1.7 to 8.1.8
Updated by Vincent MEMBRÉ about 1 month ago
- Target version changed from 8.1.8 to 8.1.9
Updated by Vincent MEMBRÉ 10 days ago
- Target version changed from 8.1.9 to 8.1.10
Updated by Vincent MEMBRÉ 6 days ago
- Target version changed from 8.1.10 to 8.1.11
Actions