Skip to content

Empty paths for root elements

Erwan Rouchet requested to merge empty-paths into master

A remake of !797 (closed): create new empty paths for elements with no parents. This makes ListElements with top level 5× faster on the largest corpus of my local DB.

Closes #946 (closed)

TODO

  • Add assertions on existing tests
  • Check that ListElementNeighbors still works
    It works, but the frontend is borked: frontend!1222 (merged)
  • Troubleshoot ElementQuerySet.trash
  • Troubleshoot move_element SQL assertions
  • Troubleshoot ElementPath conflict handling in load_export
    From meeting: Just don't care about conflicts
Edited by Erwan Rouchet

Merge request reports

Loading