View Issue Details

IDProjectCategoryView StatusLast Update
0007775CTT UA Binary2 - CTT Binarypublic2022-12-23 09:51
ReporterHock, Christian Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.10.0.402 
Summary0007775: Parameter for create_ctt_pki.bat don't work as expected
Description

Starting from this Version the create_ctt_pki.bat can not create certificates anymore when the first parameter is not be used.

  • The and first and third parameter is ignored.
    create_ctt_pki.bat "" "D:\CTT_TestResults\V_1_4_9_401" "true"
    To fix the problem the "%1", "%2" and "%3" usage should be extended with ~ like this "%~1", "%~2" and "%~3"

The following lines are twice inside and between %CURRENT_DIR%ServerProjects the backslash is missing:
SET DEPLOYED_SERVER_PKI_PATH=%CURRENT_DIR%\ServerProjects\PKI
IF "%~3" == "true" SET DEPLOYED_SERVER_PKI_PATH=%CURRENT_DIR%\PKI

Same for:
SET DEPLOYED_CLIENT_PKI_PATH=%CURRENT_DIR%\ClientProjects\PKI

Additional Information

Alexander knows about this and pleased me to write this mantis.

TagsNo tags attached.
Files Affected

Relationships

has duplicate 0007668 closedAlexander Allmendinger CTT UA Package Create New Certificates 

Activities

Alexander Allmendinger

2022-02-28 13:20

developer   ~0016120

Adding the tilde ("~") operator removes uncessary quotation marks before while persisting the information that the parameter has been empty. With this update the bach-file can be called while omitting the keysize and therefore use the default.

There was no backslash missing in the mentioned cases, because the gained CURRENT_DIR ends with a backslash.

Paul Hunkar

2022-08-29 17:19

administrator   ~0017422

In future this type of issue can be moved to package

Paul Hunkar

2022-08-29 17:21

administrator   ~0017423

reviewed in call and closed

Issue History

Date Modified Username Field Change
2022-02-24 15:24 Hock, Christian New Issue
2022-02-25 17:04 Paul Hunkar Assigned To => Alexander Allmendinger
2022-02-25 17:04 Paul Hunkar Status new => assigned
2022-02-28 13:20 Alexander Allmendinger Status assigned => resolved
2022-02-28 13:20 Alexander Allmendinger Resolution open => fixed
2022-02-28 13:20 Alexander Allmendinger Note Added: 0016120
2022-08-29 17:19 Paul Hunkar Category 5 - General Problem => 2 - CTT Binary
2022-08-29 17:19 Paul Hunkar Note Added: 0017422
2022-08-29 17:19 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Binary
2022-08-29 17:20 Paul Hunkar Fixed in Version => 1.10.0.402
2022-08-29 17:21 Paul Hunkar Status resolved => closed
2022-08-29 17:21 Paul Hunkar Note Added: 0017423
2022-12-23 09:51 Alexander Allmendinger Relationship added has duplicate 0007668