Project

General

Profile

Actions

Bug #24938

open

Generation does not verify that string template source files exists

Added by Félix DALLIDET 6 months ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
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.

Actions #1

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.9 to 8.0.10
Actions #2

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 8.0.10 to 1089
Actions #3

Updated by Alexis Mousset 4 months ago

  • Target version changed from 1089 to 8.1.6
Actions #4

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.1.6 to 8.1.7
Actions #5

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 8.1.7 to 8.1.8
Actions #6

Updated by Vincent MEMBRÉ 15 days ago

  • Target version changed from 8.1.8 to 8.1.9
Actions

Also available in: Atom PDF