ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.55k stars 267 forks source link

Pinning a tag does not work #604

Open c-goes opened 8 months ago

c-goes commented 8 months ago

Description

When adding or editing a tag the checkbox for "pinned" has no effect. The option stays disabled in the table.

Info:

Relevant log entries:

INFO:     127.0.0.1:39724 - "GET /token-validator HTTP/1.0" 200 OK
INFO:     127.0.0.1:39730 - "GET /token-validator HTTP/1.0" 200 OK
10.89.0.13 - - [08/Mar/2024:10:08:42 +0000] "PATCH /api/tags/676e87d4-caa1-4ed3-86d4-cc6c4880a5cb HTTP/1.1" 200 134 "http://192.168.117.20:12000/" ""
10.89.0.13 - - [08/Mar/2024:10:08:42 +0000] "PATCH /api/tags/676e87d4-caa1-4ed3-86d4-cc6c4880a5cb HTTP/1.1" 200 134 "http://192.168.117.20:12000/" ""
2024/03/08 10:09:04 [error] 186#186: *355 connect() failed (111: Connection refused) while connecting to upstream, client: 10.89.0.13, server: _, request: "POST /api/tags/ HTTP/1.1", subrequest: "/token-validator", upstream: "http://[::1]:8100/token-validator", host: "192.168.117.20:12000", referrer: "http://192.168.117.20:12000/"
2024/03/08 10:09:04 [warn] 186#186: *355 upstream server temporarily disabled while connecting to upstream, client: 10.89.0.13, server: _, request: "POST /api/tags/ HTTP/1.1", subrequest: "/token-validator", upstream: "http://[::1]:8100/token-validator", host: "192.168.117.20:12000", referrer: "http://192.168.117.20:12000/"
INFO:     127.0.0.1:43858 - "GET /token-validator HTTP/1.0" 200 OK
ciur commented 8 months ago

Well actually that feature (of pinning the tag) was not yet fully transferred from version 2.x to 3.x. It is also a bug, in sense that the flag for pinning the tag is still visible. Also there are documentation references to the pinning part. It is both, bug and feature request :yum: