Details
-
Type:
Bug
-
Status: New
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.40.1
-
Fix Version/s: None
-
Component/s: Cleanup, Database Migrator, Database PostgreSQL
-
Labels:
-
Notability:3
Description
Problem
With PostgreSQL or migrating database from OrientDB to PostgreSQL. Nexus Repo 3 adds a leading "/" in an Asset name, which causes the below issue:
When creating a clean-up policy, the user needs to add an extra leading "/" in Asset Name Matcher, which according to AssetNameMatcher,
An asset name does not begin with a leading slash. This is different than the asset request path value used when evaluating Content Selector (CSEL) or Routing Rule expressions.
If the user migrates from the OrientDB to PostgreSQL, then the user may need to change all the clean-up policies with Asset Name Matcher that worked in Orient. The same cleanup policy asset name matcher may NOT work in PostgreSQL without adjustment.
Please see attached file for details
Expected
Ensure that after migrating to PostgreSQL from Orient, cleanup policies that were working, keep working without any manual changes.
Adjust documents describing any differences in cleanup policy asset name matchers when migrating to PostgreSQL.
Attachments
Issue Links
- is related to
-
NEXUS-33540 downloadUrl for assets in /rest/v1/search contain extra forward slash after migrating from OrientDB to PostgreSQL
-
- Closed
-
- relates
-
NEXUS-34513 path Field in Search Asset API response has an extra leading "/" with PostgreSQL
-
- New
-