View Ticket
Ticket Hash: | 926d2b80d844d26259304f63e08cc2b205b6fe60 | |||
Title: | "tree" url kicks database error | |||
Status: | Verified | Type: | Code_Defect | |
Severity: | Severe | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2018-06-04 06:49:34 | |||
Version Found In: | ||||
User Comments: | ||||
anonymous added on 2018-06-01 16:26:10:
Clicking on the <> link in the main gui in fossil-skins gives: ------------- File List The union of all files from all check-ins in the top-level directory SQLITE_ERROR: wrong number of arguments to function pathelement() Database Error wrong number of arguments to function pathelement(): {INSERT OR IGNORE INTO localfiles SELECT pathelement(name,0,0), NULL FROM filename} anonymous added on 2018-06-04 03:03:53: This might be a Fossil issue. Looks like the ?type=tree parameter is not optional in 2.4 mario added on 2018-06-04 06:27:05: Fixed the default github.txt now to use tree?type=tree. It's seemingly not fossil-version dependent, albeit http://fossil-scm.org/index.html/tree works without parameters. Keeping this open to investigate further. Thanks for the ticket! mario added on 2018-06-04 06:49:34: Mostly convinced now this was a local build error. But gonna leave the template now as-is, because a plain /tree link would behave as /dir otherwise. |