#✅ Creating a Singleton collection with a m2m relationship always leads to a "page not found" error

4 messages · Page 1 of 1 (latest)

jade summit
#

Hello,

I've just started using Directus and it looks ok right now ! But I am having problems with something rather simple. I want to create a "Layout" singleton collection, in which I plan to manage the content of my website's menu, footer, etc.
When creating the singleton collection, if I had only "simple" inputs like text etc, it seems to work. As soon as I add my "menu" relationship as a treeview, so that I can add different nestable link and use that for my menu, the page turns into a "Page not found" page. It's actually doing that because of an SQlite error : "SQLITE_ERROR: no such column: layout.menu". How can I fix that ? Thanks !

Version used is the the latest one, 10.4.3, through docker-compose

vivid warrenBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

jade summit
#

Oh wait I think I remember reading somewhere that Tree views are just bugged and can only be used inside a collection itself. Meaning that I cannot have a treeview of links in my layout collection. That's a shame but I'll manage that another way then I guess

vivid warrenBOT
#

✅ Creating a Singleton collection with a m2m relationship always leads to a "page not found" error