Bug in Smartfolder 4 Subfolders deep

cancel
Showing results for 
Search instead for 
Did you mean: 
newport-ms
Member II

Bug in Smartfolder 4 Subfolders deep

Hello,

We are currently having an Issue with Alfresco Community 5.2 .

When using a Smartfolder inside of a sites Content Library it stops working after navigating 3 layers deep.

Site -> Content Library -> Smartfolder -> Folder -> Folder-> Folder

While the 3rd layer of folder gets shown propperly navigating one deeper breaks it. Instead of showing the 4th folder the breadcrumb still shows the 3rd selected with an empty content.

I tested this on our live system and a fresh install on a dev machine.

The interesting thing is navigating in the sidebar instead of the main window works.

Similarly when navigating from the Repo instead of the Site->Content Library it kind of works.

While it does not display the bug it resolves the actual path of the Folder so instead of 
Repository -> Sites -> {Site001} -> Smartfolder -> Folder -> Folder-> Folder -> Folder
it then shows the path
Repository -> import -> {Site001} -> Folder -> Folder-> Folder -> Folder

 

Does anyone have an idea what might be wrong, is this an actual Issue with Alfresco, or maybe are we doing something wrong with our configuration/smartfolders?

I tried searching for this issue but had no luck, not finding any mention of something similiar, which makes me think that maybe I overlooked something. 

With Best Regards,

Marvin

1 Reply
afaust
Master

Re: Bug in Smartfolder 4 Subfolders deep

There are various issues and limitations with Smart Folders in the current version. I personally have not yet encountered your specific issue, but I know from my own code analysis that the virtual identifiers for those smart folders have a technical length restriction, which can be exceeded with deep nesting and use of long IDs for smart folders. So check your smart folder template and maybe try to cut the length of those IDs if possible. I generally use one character per level of smart folders, i.e. IDs of 1, 2, 3..., a, b, c for each folder on the first level, and then 11, 12, 13.... 1a, 1b, 1c and so on on the next...