sergiogonzalez/liferay-portal — pull request #1106 by sammso (2013-11-07 11:15:35+00:00)
Title: LPS-40360 fix, if repositoryId is 0 ignore groupId === repositoryId comparison

Hi Sergio,

I think this fix is the easiest. The problem was that repositoryId was 0 on that specific use case. I tried to dig the root cause of why the repositoryid 0, but then made decision that this fix should be enough.

I did test this change with recyclebin on / off with and without changed root folder. I did also test that root folder was more deep than one level. Also I did test this with Alfresco integration that menu was working.