add a 'repair' button on the webapi checker results page #622
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#622
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The "Repair" button appears when the checker results indicate an unhealthy file. But the target URL that it points at is wrong, so clicking on it doesn't do anything.
I'm going to find and comment-out the Repair button on the check-results-page for 1.4.0, then move this ticket ahead to Milestone 1.4.1. If someone else comments-out that button or otherwise fixes this before I get around to that (likely late tonight or tomorrow morning) then that's cool.
I'll get it.
code patched.. the button is commented out.
I think the bug might be related to files vs directories: the URL of the check-results page will look like
FILECAP?t=check
for files, andDIRCAP/?t=check
for directories, so the relative link to the repair URL needs to be different (FILECAP?t=check&repair=true
for files, and just?t=check&repair=true
for directories). Or, we should point directly at/uri/CAP?t=check
for both, instead of trying to use a relative link. Well, except that we always want some kind of relative link, otherwise things break when you've got a proxy in front of the webapi server.The button is comment out, and I'm moving this ticket to Milestone 1.4.1.
I think this is a new feature rather than a bugfix (since the button is absent, rather than broken, in v1.6.0).
'repair' button on the webapi checker results page doesn't workto add a 'repair' button on the webapi checker results page1.11 is frozen for work on new tickets, but please feel free to work on this for 1.12.
Since this is the only "major" priority issue I've assigned to myself, I've decided to work on it next. Since 1382 is hopefully making it into 1.11 (and part of 1382 is of course: "Extend servers of happiness to file check, verify, and repair operations;"), it would be nice to have this repair button work properly. I've found the original diff here:
https://github.com/tahoe-lafs/tahoe-lafs/commit/54952e9beacdbe20590221341f89b3b2246aa9bc#diff-0595565110d5f14254df062f4b0e3726
It'd be nice to have some additional color on this issue before I begin, if any can be provided by anyone?
I would suggest undoing [54952e9beacdbe20590221341f89b3b2246aa9bc] on a branch, then adding a test that checks the HTML for whether the button submit URL is correct (once you've worked out what it should be).
Milestone renamed
renaming milestone
Moving open issues out of closed milestones.
Ticket retargeted after milestone closed