HumanSignal / HumanSignal/label-studio

Repeater with pagination deletes annotations on other pages when used with BrushLabels

Open
#6,059 2 comments 0 reactions 0 assignees View on GitHub
community:bug community:reviewed
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**

Only the active page when clicking "Submit" retains its brush annotations, all other annotations are deleted. Happens only with mode="pagination".

**To Reproduce**

Create a project with config:

```










```

with the demo data:

```
{
"document": [
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0001.jpg"
},
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0002.jpg"
},
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0003.jpg"
}
]
}
```

and create segmentations on at least two pages.

**Expected behavior**

Each page should be able to store independent brushlabels.

**Environment (please complete the following information):**

Docker image:

`heartexlabs/label-studio:1.12.1` (afbe561a9dc7)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.