Error: "The selected baseline cannot be restored because it is set as either the Project Baseline or the User's Primary Baseline" When Restoring A Project Baseline's Copy Using P6 Integration API or P6 Web Services (Doc ID 2297224.1)

Last updated on AUGUST 15, 2017

Applies to:

Primavera Web Services - Version 16.2.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 16.2.4.0 version, Business Objects

When attempting to restore a baseline that is a copy of the currently set project baseline, the following error occurs:

ERROR
-----------------------
com.primavera.bo.base.BusinessRuleException: The selected baseline cannot be restored because it is set as either the Project Baseline or the User's Primary Baseline

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Create a project.
  2. Create a baseline for that project.
  3. Assign the new baseline as both project and primary baseline.
  4. Using the P6WS or API copy the project baseline.
  5. Using the P6WS or API attempt to restore the baseline copy.
  6. Note the error: com.primavera.bo.base.BusinessRuleException: The selected baseline cannot be restored because it is set as either the Project Baseline or the User's Primary Baseline.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:

Due to this issue, users cannot restore assigned baselines if they are copys of the currently set project baseline.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms