From e7e9f1a35bc262be4dbefda85e2aa28d721b6b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 14 Jul 2025 16:24:04 +0200 Subject: [PATCH 1/3] Renamed ez_lock --- .../api/public_php_api/src/Command/ObjectStateCommand.php | 2 +- .../rest_api/rest_api_reference/rest_api_reference.html | 8 ++++---- .../data_migration/data_migration_actions.md | 2 +- .../aggregation_reference/objectstateterm_aggregation.md | 2 +- .../criteria_reference/objectstateidentifier_criterion.md | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/code_samples/api/public_php_api/src/Command/ObjectStateCommand.php b/code_samples/api/public_php_api/src/Command/ObjectStateCommand.php index 7f2c3c6b8d..a7da6a3ffc 100644 --- a/code_samples/api/public_php_api/src/Command/ObjectStateCommand.php +++ b/code_samples/api/public_php_api/src/Command/ObjectStateCommand.php @@ -51,7 +51,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $user = $this->userService->loadUserByLogin('admin'); $this->permissionResolver->setCurrentUserReference($user); - $objectStateGroup = $this->objectStateService->loadObjectStateGroupByIdentifier('ez_lock'); + $objectStateGroup = $this->objectStateService->loadObjectStateGroupByIdentifier('ibexa_lock'); $objectState = $this->objectStateService->loadObjectStateByIdentifier($objectStateGroup, 'locked'); $output->writeln($objectStateGroup->getName()); diff --git a/docs/api/rest_api/rest_api_reference/rest_api_reference.html b/docs/api/rest_api/rest_api_reference/rest_api_reference.html index 3de731431c..86384358e1 100644 --- a/docs/api/rest_api/rest_api_reference/rest_api_reference.html +++ b/docs/api/rest_api/rest_api_reference/rest_api_reference.html @@ -11730,7 +11730,7 @@
Types
<ObjectStateGroupList media-type="application/vnd.ibexa.api.ObjectStateGroupList+xml" href="/api/ibexa/v2/content/objectstategroups"> <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"> <id>2</id> - <identifier>ez_lock</identifier> + <identifier>ibexa_lock</identifier> <defaultLanguageCode>eng-GB</defaultLanguageCode> <languageCodes>eng-GB</languageCodes> <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"/> @@ -11769,7 +11769,7 @@
Types
"_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", "_href": "/api/ibexa/v2/content/objectstategroups/2", "id": 2, - "identifier": "ez_lock", + "identifier": "ibexa_lock", "defaultLanguageCode": "eng-GB", "languageCodes": "eng-GB", "ObjectStates": { @@ -11861,7 +11861,7 @@
Types
<ObjectStateGroupList media-type="application/vnd.ibexa.api.ObjectStateGroupList+xml" href="/api/ibexa/v2/content/objectstategroups"> <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"> <id>2</id> - <identifier>ez_lock</identifier> + <identifier>ibexa_lock</identifier> <defaultLanguageCode>eng-GB</defaultLanguageCode> <languageCodes>eng-GB</languageCodes> <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"/> @@ -11925,7 +11925,7 @@
Types
"_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", "_href": "/api/ibexa/v2/content/objectstategroups/2", "id": 2, - "identifier": "ez_lock", + "identifier": "ibexa_lock", "defaultLanguageCode": "eng-GB", "languageCodes": "eng-GB", "ObjectStates": { diff --git a/docs/content_management/data_migration/data_migration_actions.md b/docs/content_management/data_migration/data_migration_actions.md index 2550af6957..cbab5a440b 100644 --- a/docs/content_management/data_migration/data_migration_actions.md +++ b/docs/content_management/data_migration/data_migration_actions.md @@ -76,7 +76,7 @@ For more information, see [creating your own Actions](create_data_migration_acti mode: Create ``` yaml actions: - - { action: assign_object_state, identifier: locked, groupIdentifier: ez_lock } + - { action: assign_object_state, identifier: locked, groupIdentifier: ibexa_lock } - { action: assign_parent_location, value: 2 } - { action: hide } ``` diff --git a/docs/search/aggregation_reference/objectstateterm_aggregation.md b/docs/search/aggregation_reference/objectstateterm_aggregation.md index de65a7804d..099df6822c 100644 --- a/docs/search/aggregation_reference/objectstateterm_aggregation.md +++ b/docs/search/aggregation_reference/objectstateterm_aggregation.md @@ -15,7 +15,7 @@ The [ObjectStateTermAggregation](/api/php_api/php_api_reference/classes/Ibexa-Co ``` php $query = new Query(); -$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ez_lock'); +$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ibexa_lock'); ``` [[= include_file('docs/snippets/search_term_aggregation_settings.md') =]] diff --git a/docs/search/criteria_reference/objectstateidentifier_criterion.md b/docs/search/criteria_reference/objectstateidentifier_criterion.md index 3f65af95c0..75e7153828 100644 --- a/docs/search/criteria_reference/objectstateidentifier_criterion.md +++ b/docs/search/criteria_reference/objectstateidentifier_criterion.md @@ -20,7 +20,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['ready']); ``` ``` php -$query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock'); +$query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ibexa_lock'); ``` ### REST API @@ -32,7 +32,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock'); not_locked - ez_lock + ibexa_lock @@ -46,7 +46,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock'); "Filter": { "ObjectStateIdentifierCriterion": { "value": "not_locked", - "target": "ez_lock" + "target": "ibexa_lock" } } } From c8a26987252e65d4a789883f751ce496e3a9dceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 14 Jul 2025 16:24:20 +0200 Subject: [PATCH 2/3] Renamed settings variable --- docs/administration/back_office/add_user_setting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration/back_office/add_user_setting.md b/docs/administration/back_office/add_user_setting.md index 61c1a07f49..3a44ef8ccd 100644 --- a/docs/administration/back_office/add_user_setting.md +++ b/docs/administration/back_office/add_user_setting.md @@ -39,7 +39,7 @@ Register the setting group as a service: [[= include_file('code_samples/back_office/settings/config/custom_services.yaml', 6, 9) =]] ``` -The value of the setting is accessible with `ez_user_settings['unit']`. +The value of the setting is accessible with `ibexa_user_settings['unit']`. ## Create template for editing settings From d3cb7c7e9ea3fe85dc1bfcb9213557c144b83f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 15 Jul 2025 12:09:03 +0200 Subject: [PATCH 3/3] Reverted autogenerated changes --- .../rest_api/rest_api_reference/rest_api_reference.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/rest_api/rest_api_reference/rest_api_reference.html b/docs/api/rest_api/rest_api_reference/rest_api_reference.html index 86384358e1..3de731431c 100644 --- a/docs/api/rest_api/rest_api_reference/rest_api_reference.html +++ b/docs/api/rest_api/rest_api_reference/rest_api_reference.html @@ -11730,7 +11730,7 @@
Types
<ObjectStateGroupList media-type="application/vnd.ibexa.api.ObjectStateGroupList+xml" href="/api/ibexa/v2/content/objectstategroups"> <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"> <id>2</id> - <identifier>ibexa_lock</identifier> + <identifier>ez_lock</identifier> <defaultLanguageCode>eng-GB</defaultLanguageCode> <languageCodes>eng-GB</languageCodes> <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"/> @@ -11769,7 +11769,7 @@
Types
"_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", "_href": "/api/ibexa/v2/content/objectstategroups/2", "id": 2, - "identifier": "ibexa_lock", + "identifier": "ez_lock", "defaultLanguageCode": "eng-GB", "languageCodes": "eng-GB", "ObjectStates": { @@ -11861,7 +11861,7 @@
Types
<ObjectStateGroupList media-type="application/vnd.ibexa.api.ObjectStateGroupList+xml" href="/api/ibexa/v2/content/objectstategroups"> <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"> <id>2</id> - <identifier>ibexa_lock</identifier> + <identifier>ez_lock</identifier> <defaultLanguageCode>eng-GB</defaultLanguageCode> <languageCodes>eng-GB</languageCodes> <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"/> @@ -11925,7 +11925,7 @@
Types
"_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", "_href": "/api/ibexa/v2/content/objectstategroups/2", "id": 2, - "identifier": "ibexa_lock", + "identifier": "ez_lock", "defaultLanguageCode": "eng-GB", "languageCodes": "eng-GB", "ObjectStates": {