ECM app : fixing bugs 4786, 5068 and 5069

See tracker.silverpeas.org for further information.

Do not forget to check out PR on Silverpeas-Core...