Messages and Codes Reference Guide (PDF)

Messages and Codes Reference Guide — Chapter 4

« Previous chapter
Next chapter »

CPF Messages

CPF-ACTIONEMPTY

Message Text

Execute action required

Cause

An execute element in a CPF pipeline was missing an action element. The action element is required.

Response

Add the missing action element.

CPF-ACTIONNOTFOUND

Message Text

Action not found: variable1

Cause

The module path in an action was empty. The module path needs to be the path of an XQuery module or XSLT stylesheet.

Response

Supply the missing module path in the action.

CPF-CONDITIONEMPTY

Message Text

Execute condition required

Cause

An execute element in a CPF pipeline was missing a condition element. The condition element is required.

Response

Add the missing condition element. If you want an unconditioned action, consider using the default-action instead.

CPF-CONFIGEXISTS

Message Text

Processing configuration already exists

Cause

dom:configuration-create was called to create a CPF configuration in the triggers database, but a configuration already exists there. There can be only one such configuration per triggers database. It may be that the triggers database is shared across multiple databases, and this initialization was already done.

Response

Do not call dom:configuration-create multiple times for the same triggers database.

CPF-CONFIGIDEMPTY

Message Text

Processing configuration id required

Cause

A CPF configuration was missing a unique ID.

Response

This should never happen. If it does, report the bug.

CPF-CONFIGNOTFOUND

Message Text

Processing configuration not found

Cause

dom:configuration-get could not find the CPF configuration.

Response

Make sure you are executing this function in the correct triggers database and that CPF has been installed.

CPF-DATABASEEMPTY

Message Text

Database required in execution context

Cause

The database in the execution context of a domain specification is missing.

Response

Fix the domain specification.

CPF-DATABASEINVALID

Message Text

Invalid database in execution context: variable1

Cause

The database id in the evaluation context of a domain specification does not match the id of any database.

Response

Provide a valid database ID in the evaluation context of the domain specification.

CPF-DEPTHEMPTY

Message Text

Depth required for directory domain scope

Cause

A directory scope on a domain specification lacks a depth element.

Response

Add a depth element to the scope specification.

CPF-DEPTHINVALID

Message Text

Invalid depth in directory domain scope: variable1

Cause

The depth element in the directory scope specification of a domain specification must be either "0", "1", or "infinity" but it is something else.

Response

Fix the depth specification.

CPF-DOCSCOPEEMPTY

Message Text

Document scope required in domain scope

Cause

A domain specification has an empty document-scope element. The document-scope must be present and must be "document", "directory", or "collection".

Response

Fix the broken document-scope element.

CPF-DOMAINEMPTY

Message Text

Default domain required

Cause

A CPF configuration specification is missing the default-domain element.

Response

Add the missing default-domain element.

CPF-DOMAINEXISTS

Message Text

Domain already exists: variable1

Cause

The CPF domain name specified already exists in the database.

Response

Choose a different name for the domain and try again.

CPF-DOMAINIDEMPTY

Message Text

Domain id required

Cause

A CPF domain specification is missing an domain-id element.

Response

This should not happen.

CPF-DOMAININVALID

Message Text

Invalid domain in configuration: variable1

Cause

The CPF configuration specifies a default domain that does not exist.

Response

Use a valid domain for the default-domain in the CPF configuration.

CPF-DOMAINNAMEEMPTY

Message Text

Domain name required

Cause

A domain specification is missing the domain-name element.

Response

Add the missing domain-name element.

CPF-DOMAINNOTFOUND

Message Text

Processing domain not found: variable1

Cause

A CPF domain with the given name or ID was not found.

Response

Make sure that the domain name or ID is correct and that the lookup is being executed against the correct triggers database.

CPF-LINKINVALID

Message Text

Link is invalid: variable1

Cause

An attempt was made to add a CPF link that had invalid attributes on it to a document.

Response

Ensure that the from, to, rel, rev, and strength attributes have values allowed by the schema for links. Ensure that thefrom and to attributes are not the same.

CPF-LINKNOTFOUND

Message Text

Link not found from variable1 to variable2

Cause

The CPF link function remove was called to remove a link that did not exist.

Response

Modify your application to either avoid calling remove on links that do not exist, or to handle the error situation.

CPF-MODULEEMPTY

Message Text

Module required: variable1

Cause

A CPF action specification was missing the module element.

Response

Add the missing module element. An action must specify a valid module path.

CPF-NODEPTH

Message Text

Depth should not be specified in non-directory domain scope

Cause

A non-directory domain scope specification includes a depth element, which should not happen.

Response

Remove the depth element.

CPF-PIPELINEACTIONEMPTY

Message Text

Pipeline action required: variable1

Cause

A pipeline was missing the global success-action or failure-action.

Response

Add the missing elements to the pipeline.

CPF-PIPELINEEXISTS

Message Text

Pipeline already exists: variable1

Cause

An attempt was made to create a pipeline that has the same name as an already loaded pipeline. Pipeline names must be unique.

Response

Give the new pipeline a new name, remove the existing pipeline, or use the pipeline insert function rather than the pipeline create function.

CPF-PIPELINEIDEMPTY

Message Text

Pipeline id required

Cause

An attempt was made to insert a pipeline that had no pipeline-id element.

Response

This should not happen.

CPF-PIPELINEINVALID

Message Text

Pipeline is invalid: variable1

Cause

An attempt was made to insert a pipeline specification that is not valid per the pipeline schema.

Response

Ensure the pipeline specification is valid per the pipeline schema.

CPF-PIPELINENAMEEMPTY

Message Text

Pipeline name required

Cause

An attempt was made to insert a pipeline specification that did not have a pipeline name. The name is required.

Response

Make sure the pipeline specification has a name.

CPF-PIPELINENOTFOUND

Message Text

Processing pipeline not found: variable1

Cause

A pipeline specification with the given name or unique ID could not be found.

Response

Make sure that the lookup function is executed against the correct triggers database and that the name or ID is correct.

CPF-ROOTEMPTY

Message Text

Root required in execution context

Cause

The evaluation context of a CPF domain has an empty evaluation root specification. The root is required and must be a non-empty path.

Response

Correct the evaluation context specification by adding a root specification.

CPF-SCOPEINVALID

Message Text

Document scope in domain scope is invalid: variable1

Cause

A domain document-scope specification is not valid. It must be "document", "directory", or "collection".

Response

Fix the domain specification.

CPF-SCOPEURIEMPTY

Message Text

URI required in domain scope

Cause

A domain scope specification has an empty uri element. The uri element is required and must be non-empty.

Response

Provide a non-empty uri element.

CPF-STATEEMPTY

Message Text

Transition state required

Cause

A pipeline has a state transition specification with no state element. The state element is required.

Response

Fix the pipeline specification.

CPF-STATETRANSITIONDUP

Message Text

State transition already defined: variable1

Cause

A pipeline has more than one state transition for the same state.

Response

Combine the execute blocks for the multiple state transitions into a single state transition, or move one of the state transitions to a different pipeline. Add a priority to one of the state transitions if necessary.

CPF-STATUSEMPTY

Message Text

Transition status required

Cause

A pipeline has a status transition specification that lacks a status element. The status element is required.

Response

Add the status element to the status transition.

CPF-STATUSINVALID

Message Text

Processing status is invalid: variable1

Cause

An attempt was made to set the processing status to an invalid value. The value must be one of those defined in the schema: "active", "done", "created", "deleted", "updated", or "property-updated".

Response

Provide a valid processing status.

CPF-STATUSTRANSITIONDUP

Message Text

Status transition already defined: variable1

Cause

A pipeline has more than one status transition for the same status.

Response

Combine the execute blocks for the multiple status transitions into a single status transition, or move one of the status transitions to a different pipeline. Add a priority to one of the status transitions if necessary.

CPF-TRIGGERDBREQ

Message Text

A triggers database is required to install CPF for database: variable1

Cause

An attempt was made to install CPF on a database that has no triggers database configured. CPF requires a triggers database in order to function.

Response

Define a triggers database for the database you want to install CPF on.

CPF-TRIGGEREMPTY

Message Text

Domain trigger required: variable1

Cause

Something went wrong in creating a domain and one or more of the triggers that should have been created are missing.

Response

This should never happen.

CPF-USEREMPTY

Message Text

Processing user required

Cause

A CPF configuration was created with no restart-user specified.

Response

This should never happen.

« Previous chapter
Next chapter »
Powered by MarkLogic Server | Terms of Use | Privacy Policy