Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iis-website-add-release-number-to-response-header: Fix error #766

Merged
merged 2 commits into from
Mar 21, 2019
Merged

iis-website-add-release-number-to-response-header: Fix error #766

merged 2 commits into from
Mar 21, 2019

Conversation

Adam-S-Daniel
Copy link
Contributor

@Adam-S-Daniel Adam-S-Daniel commented Mar 19, 2019

Fixed the following exception

Exception calling "GetSection" with "2" argument(s): "Filename: redirection.config
Error: Cannot read configuration file

Credit for revealing the root cause (in some instances the script would load the incorrect assembly, which in turn would try to modify the incorrect configuration file):
dsccommunity/xPSDesiredStateConfiguration#191 (comment)
Credit for the solution:
dsccommunity/xPSDesiredStateConfiguration#462

Added a prefix to parameter names

Note that this may cause Octopus to prompt users who update the step in existing processes to do so manually.

Step template checklist

  • Id should be a GUID that is not 00000000-0000-0000-0000-000000000000
    • NOTE If you are modifying an existing step template, please make sure that you do not modify the Id property (updating the Id will break the Library sync functionality in Octopus).
  • Version should be incremented, otherwise the integration with Octopus won't update the step template correctly
  • Parameter names should not start with $
  • To minimize the risk of step template parameters clashing with other variables in a project that uses the step template, ensure that you prefix your parameter names (e.g. an abbreviated name for the step template or the category of the step template
  • LastModifiedBy field must be present, and (optionally) updated with the correct author
  • If a new Category has been created:
    • An image with the name {categoryname}.png must be present under the step-templates/logos folder
    • The switch in the humanize function in gulpfile.babel.js must have a case statement corresponding to it

Fixed the following exception:
```
Exception calling "GetSection" with "2" argument(s): "Filename: redirection.config
Error: Cannot read configuration file
```
Credit for revealing the root cause (in some instances the script would load the incorrect assembly, which in turn would try to modify the incorrect configuration file):
dsccommunity/xPSDesiredStateConfiguration#191 (comment)
Credit for the solution:
dsccommunity/xPSDesiredStateConfiguration#462
@CLAassistant
Copy link

CLAassistant commented Mar 19, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@hnrkndrssn hnrkndrssn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hnrkndrssn hnrkndrssn merged commit dfbc0c4 into OctopusDeploy:master Mar 21, 2019
@hnrkndrssn
Copy link
Contributor

@hnrkndrssn hnrkndrssn removed this from the vNext milestone Mar 21, 2019
@Adam-S-Daniel Adam-S-Daniel deleted the patch-1 branch March 21, 2019 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants