-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 73.23
-
Fix Version/s: 3.1.0
-
Component/s: Page Providers
-
Epic Link:
-
Backlog priority:1,000
-
Sprint:NOS 10.3.9 - mid nov, NOS 10.10.1 - end nov
-
Story Points:3
Context
ecm:isTrashed was introduced in Nuxeo 10.1 in order to prepare trashed state separation from the lifecycle one.
Nuxeo Server takes care about which property to use when it met ecm:isTrashed in NXQL.
But this is not the case for ecm:currentLifeCycleState='deleted'.
Improvement
Nuxeo Studio should warn the user when he's using ecm:currentLifeCycleState='deleted'. Message should state that he needs to use the new property ecm:isTrashed.
Message should be shown for Nuxeo version greater or equal to 10.1
Acceptance criteria
When Nuxeo Server version is 10.1+
If my page provider / content view uses ecm:currentLifeCycleState [predicate - could be = "deleted", != 'deleted' too and other variations (IN ('deleted', etc)], a validation warning is shown saying:
Deleted state is deprecated since 10.3 / LTS 2019. We recommend [updating your configuration](https://doc.nuxeo.com/studio/how-to-migrate-trash-configuration in a new page) to prevent warnings at runtime if you upgraded to the new trash service.
- is related to
-
NXDOC-1706 Create a new How To about trash service migration
- Open
-
NXS-5156 Fix trashed state warning not showing when JSF is not selected in AppDef
- Resolved
-
NXS-5051 Warn user about ecm:currentLifeCycleState='deleted' usage on EL expressions
- Open
-
NXS-4959 Warn user about delete/undelete transition usage
- Resolved
-
NXP-25761 Fix Trash migration
- Resolved
-
NXP-24033 Add NXQL ecm:isTrashed
- Resolved
-
NXS-4499 Generate NXQL ecm:isTrashed
- Resolved
- is required by
-
NXS-5054 Add missing validation error on ecm:currentLifeCycleState='deleted' usage
- Resolved