Description
The Content Manager and Security Analytics Plugin use different conventions for the space field:
| Space |
Content Manager |
SAP |
| Standard |
standard |
Sigma |
| Custom |
custom |
Custom |
| Test |
test |
Test |
| Draft |
draft |
Draft |
Differences:
- Naming mismatch: CM uses
standard while SAP uses Sigma. The value Sigma should be changed, and the code adapted to standard is used instead
- Capitalization mismatch: SAP stores capitalized values, while CM uses lowercase. Capitalization/display formatting should be a concern of the dashboard, not the indexer.
Both systems should use the same lowercase values defined by the Content Manager: standard, custom, test, draft.
Functional requirements
- SAP must store and return space values in lowercase:
standard, custom, test, draft.
- The value
Sigma must be replaced by standard in all SAP code and stored data.
- Any space comparisons in SAP code must use the lowercase values.
- The dashboard is responsible for display formatting (e.g., capitalizing for the UI).
Implementation restrictions
- Changes must be limited to the space names.
Plan
Description
The Content Manager and Security Analytics Plugin use different conventions for the
spacefield:standardSigmacustomCustomtestTestdraftDraftDifferences:
standardwhile SAP usesSigma. The valueSigmashould be changed, and the code adapted tostandardis used insteadBoth systems should use the same lowercase values defined by the Content Manager:
standard,custom,test,draft.Functional requirements
standard,custom,test,draft.Sigmamust be replaced bystandardin all SAP code and stored data.Implementation restrictions
Plan
spacefield to use lowercase values, replacingSigmawithstandard.spacefield to use the new constants.