Bulk operation with tags does not work
Author: KedrigernCreated Mar 15, 2026Updated Sep 3, 2026
Labelstype:bug
Data
- Shiori version: 1.8.0 (build da56f82faac5bf350fc4175e5ff50726cb10d956) at 2025-09-26T15:50:13Z
- Database Engine: PostgreSQL
- Operating system: Fedora Linux 43 (64-bit)
- CLI/Web interface/Web Extension: Web interface
Describe the bug / actual behavior
When attempting to add a tag to multiple articles using the batch edit feature, the application throws a JavaScript error: json.forEach is not a function. The tag is not applied to the selected articles. The error appears in the application UI, not just in the browser console.
Expected behavior
The specified tag should be successfully added to all selected articles, and the UI should update to reflect the changes without throwing any errors.
To Reproduce
Steps to reproduce the behavior:
- Go to the main view and click on the pencil icon to enable 'Batch edit' mode.
- Select two or more articles (they become highlighted in red).
- Click on the 'Tags' button from the batch edit action menu.
- Type a tag you want to add (e.g., 'unread') and confirm.
- See the error
json.forEach is not a functiondisplayed in the UI.
Notes
I have tested and reproduced this issue on two different browsers:
- Firefox 148.0.2 (64-bit)
- Chromium Version 145.0.7632.159 (Official Build for Fedora release 43)
Source: go-shiori/shiori