Defects

Dim CM 2009 R2: Spaces in project name cause ACL0004585E Error: Too many parameters



ID:    D12078
Published:    14 February 2011
Updated:    30 September 2011
 

Defect Id

DEF198491

Originally Reported Against

Dimensions CM 2009 R2

Status

Implemented

Description

Setting the current workset with a DMCLI command directly from the command prompt gives an error.

The same SCWS command run in the DMCLI shell, after having logged in from cmd or from the console in Desktop Client, does not give this error.

Below are the steps to reproduce this problem: -

1. In the Desktop Client create a project with a space in the name, i.e. "QLARIUS:SPACE NAME";

2. Open a command prompt as a user who has access to Dimensions, i.e. DMSYS, and set DMDB;

3. Run DMCLI and the SCWS command without having logged into DMCLI first.

C:\>dmcli SCWS "QLARIUS:SPACE NAME" /NOCHECK /DIRECTORY="C:\temp" /USER_BRANCH="." /CHANGE="." /PART="." /LIBRARY_CACHE_AREA="."

Expected Result: -

Operation completed.

Actual Result: -

ACL0004585E Error: Too many parameters.

Error: Dimensions command not specified correctly

The business impact of this problem is low as the workaround is to log into DMCLI first and then run the SCWS command. It could become a problem though when wanting to incorporate DMCLI commands run from the shell in a script.

Resolution

The quotes are removed by the Windows command line parser. Quotes must be escaped to prevent removal by Windows command line parser. Use dmcli scws \"QLARIUS:SPACE NAME\" to work as expected.
Example:

C:\>dmcli SCWS \"QLARIUS:SPACE NAME\" /NOCHECK /DIRECTORY="C:\temp"
/USER_BRANCH="." /CHANGE="." /PART="." /LIBRARY_CACHE_AREA="." /NODEFAULT
Serena Dimensions CM 2009 R2 Build 4.344 at 09:24:28 Wednesday 23 March 2011
Copyright (c) 1988-2010 Serena Software, Inc. All rights reserved.
Operation completed

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs