xwiki/xwiki-enterprise — comment on commit 64e7787bc1eea7180add344d21223d07ba1f0090
File:  line 0
By vmassol:

Thanks for the comment.

However I have no clue why we're mixing document names and UUID. That seems like a huge hack to me at first sight.

I also remember seeing strange exception logs on xwiki.org instance with failure to load some documents and the doc name had a UUID and thomas and me spent time wondering how this could happen without understanding it. Maybe this is a side effect of this hack.

Isn't there any way of fixing the hack instead of adding this "if" hack here?