crate / crate/crate-admin

Incorrect object data on specific record on second page of results

Open
#817 3 comments 0 reactions 0 assignees View on GitHub
bug needs discussion ux
Dominant language
JavaScript
Stars
27
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Logging this as an AdminUI issue as it is not reproducible with `crash`

### CrateDB version

5.4.0

### Steps to Reproduce

```sql
CREATE TABLE adminuiissue (o OBJECT,descr TEXT);
INSERT INTO adminuiissue(o,descr) SELECT {},'This is another one' FROM generate_series(1,17);
INSERT INTO adminuiissue(o,descr) SELECT {},'Something else' FROM generate_series(1,81);
INSERT INTO adminuiissue(o,descr) SELECT '{"tschritter":{},"code":"abcde1","tz":"Europe","shifts":[],"assignees":{},"language":"de","id":123,"plant_key":"abcde1","stations":{}}','Look at this record';
-- From the AdminUI
SELECT * FROM adminuiissue ORDER BY descr ASC;
-- Expand the o object for "Look at this record", note there is data in there
SELECT * FROM adminuiissue ORDER BY descr DESC;
-- Go to the bottom of the second page of results
-- expand the o object for "Look at this record"
-- note there is NO data in there
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the SQL example in the AdminUI, checking the expanded object for “Look at this record” on both result pages and with both sort orders. Trace the pagination and object-expansion entry points to find why the second-page record loses its data. Done when the object displays consistently on both pages and the reported reproduction no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.