#1742·homebox

Inconsistent location/item view for nested items

Author: fguiotteCreated Sep 20, 2026Updated Sep 20, 2026
Labels🕷️ bug

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

0.26.2

What is the issue you are experiencing?

There is an inconsistency between the location view (/location/ in the URL) and the item view (/item/ in the URL) when items are nested.

For the same item/location, clicking a child link opens the /item/ page, while clicking a parent link to that very same item/location opens the /location/ page.

This was very confusing at first, until I noticed what was happening. The two pages do not show the same information. In particular, they share the "Create item / sub-item" button, but it does not behave the same way:

  • In the /location/ view, the parent field is empty by default and asks for a location. There is no way to set a parent item in this form.
  • In the /item/ view, the same button sets the correct parent item by default.

How can the maintainer reproduce the issue?

  1. Create 3 nested items A -> B -> C
  2. From parent A, click child item B: /item/B page opens.
  3. From /item/B click child C: /item/C page opens.
  4. From /item/C click parent B: /location/B page opens.

Expected: step 4 should open /item/B, the same page as in step 2.

Deployment

Docker (Linux)

Database Type

SQLite

OS Architechture

ARM64, x86_64 (AMD, Intel)

Deployment Details

No response