October: Tree view does not work for deep nesting levels

Created on 12 Mar 2020  路  7Comments  路  Source: octobercms/october

  • OctoberCMS Build: 465
  • PHP Version: 7.2.4
  • Database Engine: SQLite

Description:

It looks like list tree view does not work for nesting levels deeper than 3. Here's the gif:

ezgif com-video-to-gif

Catefory 6 is a parent for Category 5, so it is expected to see that category there:

image

Steps To Reproduce:

Just put tree a item to the 3 level and deeper.

Unconfirmed Bug

Most helpful comment

image

All 7 comments

@GinoPane There must be something else at work here - I cannot replicate the issue.

Screenshot_2020-03-13 https 6bbcbba428dc octodock com(1)
Screenshot_2020-03-13 https 6bbcbba428dc octodock com

Would you mind doing something investigation and see if there's perhaps an error being thrown by the JS, or if it's not saving something correctly? (my understanding is that the tree list view uses some form of session variable to record which tree branches are open).

Ok, I'll play around with it

Maybe its SQLite? It works flawlessly with MariaDB.

@Eoler yep, I think about it too, because the issue persists with cookies cleared and no JS errors:

ezgif com-video-to-gif

Will dig into it.

@bennothommo @Eoler wow, it turned out the reason was in session driver.

I used file-based sessions for this setup and framework/sessions directory was missing, so sessions were not actually stored. When I switched to a cookie-based setup or created sessions directory for file sessions everything worked as expected.

@GinoPane thanks for letting us know. Curious as to how you remained logged in to the Backend though? :P

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dunets picture dunets  路  3Comments

mittultechnobrave picture mittultechnobrave  路  3Comments

mittultechnobrave picture mittultechnobrave  路  3Comments

axomat picture axomat  路  3Comments

m49n picture m49n  路  3Comments