- Issue created by @slucero
- last update
over 1 year ago 344 pass, 2 fail - @slucero opened merge request.
- last update
over 1 year ago 358 pass - Status changed to Needs review
over 1 year ago 9:32pm 16 June 2023 - last update
over 1 year ago 358 pass - last update
over 1 year ago 358 pass - last update
over 1 year ago 388 pass - last update
over 1 year ago 388 pass - Assigned to slucero
- Status changed to Needs work
about 1 year ago 7:12pm 12 September 2023 - 🇺🇸United States slucero Arkansas
When this was tested on a site with a very large database of content, the processing for it failed due to running out of memory. To address this, I've begun working on a refactored approach that offers options for batch processing and queue processing instead.
- 🇺🇸United States slucero Arkansas
The next revision of this work will be built on top of the batch processing updates introduced in the work for 🐛 Bulk Pattern Updates Fail on Large Databases Active .
- Merge request !86Issue #3366853: Track Pattern Usage in Content Layouts → (Merged) created by slucero
- last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago run-tests.sh fatal error - last update
about 1 year ago 415 pass - last update
about 1 year ago 406 pass, 4 fail - last update
about 1 year ago 419 pass - last update
about 1 year ago 419 pass - Status changed to Needs review
about 1 year ago 4:38pm 8 November 2023 - 🇺🇸United States slucero Arkansas
The work itself is ready for review and testing, so I'm updating the status of the issue. The implementation has changed since the issue description was written, however, so that will need to be updated. I will revise that soon to reflect the newest work.
- last update
about 1 year ago 419 pass - last update
about 1 year ago 430 pass - Status changed to RTBC
about 1 year ago 2:12pm 20 November 2023 - last update
about 1 year ago 430 pass - Status changed to Fixed
about 1 year ago 2:21pm 20 November 2023 - 🇺🇸United States slucero Arkansas
Merged for inclusion in the Beta 8 release.
- 🇮🇳India minsharm India
I had tested this on D9 as well as on D10.
Result looks good to me.
Steps for testing
Scenario 1
Create pattern content on Nodes with overridden layouts
Enable the patternkit_usage_tracking module
Run the usage scan Drush command: drush patternkit:usage:scan
As an administrator, view the usage reports at /admin/reports/pattern-usage.
Confirm expected results in listings (see details below).Results :
After running a scan with the Drush command and existing patternkit content, an entry for each patternkit block on each page should be listed on the admin reports page at /admin/reports/pattern-usageEach entry displays the following:
The page title
- A link to the page
- The name of the used pattern
- A path to the pattern within the layout
- The language of the revision containing the pattern entry
- The node ID of the node layout
- The revision ID of the node revision
Also, I have validated the values for each of the entry - Name of the pattern, format of layout path with different section index value, nested pattern, revision id, node id. All the values are accurate.
Scenario 2
Edit an existing page to add or remove blocks and expect this change to be reflected in the usage report without rescanning via the drush command.
Results : Changes in the existing page reflected in the usage report without rescanning.Scenario 3
Create a new page and set block content on the layout. Expect the new results to be reflected in the usage report without rescanning via the drush command.
Results : Creation of Patternit block on new page also reflects in the report without rescanning. Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
10 months ago 4:04pm 12 January 2024