Cannot access repository page: "FrozenError"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redmine (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Focal, I cannot access any project's repository page (git), which results in an internal server error.
The log says:
---
Started GET "/projects/
Processing by RepositoriesCon
Parameters: {"id"=>
Current user: username01 (id=60)
Completed 500 Internal Server Error in 161ms (ActiveRecord: 78.3ms)
FrozenError (can't modify frozen String: ""):
lib/redmine/
lib/redmine/
lib/redmine/
app/models/
app/models/
app/controllers
lib/redmine/
---
I found this issue in the redmine issue tracker which suggests this is an incompatibility with ruby 2.7 which is too new, and that redmine 4.1.x resolved the issue:
https:/
I tried applying the commit referenced towards the end of that issue locally, and unsurprisingly there were a bunch of conflicts, but it appears that the few files that actually got patched cleanly were enough to make the repository view work again, so maybe backporting the patch is the way to go.
Status changed to 'Confirmed' because the bug affects multiple users.