fixing bug #5046
Since JCR is used, API no more supports files attached to 'nothing'
ney #bug5046 :  Merge branch 'ney-bug5046' of https://github.com/NicolasEYSSERIC/Silverpeas-Components into components-5.12.x