xwiki/xwiki-enterprise — comment on commit d88367b50437314bbeb1838b68126b71b7bf560c
File:  line 0
By Enygma2002:

Here you go, Vincent: https://github.com/xwiki/xwiki-enterprise/commit/64e7787bc1eea7180add344d21223d07ba1f0090

The solution was pretty obvious, since $xwiki.hasAccessLevel(...) was called when it should not have been for documents like "xwiki:xwiki:XWiki." and was throwing an exception whining about the existent "xwiki:xwiki".

Thanks Sergiu :)