this is pending changes in https://github.com/ezsystems/ezpublish-kernel/pull/746