Skip to content

[6.x] Collection entries are not getting loaded in the CP #12695

@AtmoFX

Description

@AtmoFX

Bug description

On 6.0.0-alpha.11, entries for 1 of my collections are not being displayed by the CP.

How to reproduce

I do not know how to reproduce, but I noted some differences in the queries logged by the debugbar, hoping it can give you enough clue to at least tell me where to put a breakpoint.

When loading the collection, the queries shown are:

Image

Then, within the same page load, the tab content is changed to:

Image

For a collection that gets loaded (Pages), the queries are first:

Image

Then, the SELECT COUNT(*) as aggregate ... disappears (thus the logged queries very much look like the 2nd screenshot above), then the tab content changes again and logs:

Image

A lot of queries inside Assets are not shown below that section of the bar but the important point is that entries get selected this time

Logs

AFAICT, no logs get written.

Environment

Environment
Application Name: GaiaMine UAT
Laravel Version: 11.46.1
PHP Version: 8.4.13
Composer Version: 2.8.10
Environment: local
Debug Mode: OFF
URL: design.test/
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: database

Pulse
Enabled: ENABLED
Version: v1.4.3

Livewire
Livewire: v3.6.4

Statamic
Addons: 5
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.11 PRO

Statamic Addons
alt-design/alt-seo: 1.3.0
jacksleight/statamic-bard-mutator: 3.0.5
pecotamic/sitemap: 1.4.10
statamic/eloquent-driver: 4.32.0
stillat/antlers-components: 2.6.0

Statamic Eloquent Driver
Asset Containers: file
Assets: file
Blueprints: file
Collection Trees: file
Collections: file
Entries: eloquent
Fieldsets: file
Form Submissions: eloquent
Forms: file
Global Sets: file
Global Variables: file
Navigation Trees: file
Navigations: file
Revisions: file
Sites: file
Taxonomies: file
Terms: file
Tokens: file

Installation

Other (please explain)

Additional details

Site migrated from 5.x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions