Defects
ID: | D12078 | |
Published: | 14 February 2011 | |
Updated: | 30 September 2011 |
Defect Id
Originally Reported Against
Status
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
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