Fix EZP-22480: Object creation does not respect attribute constraints in...

... ezoe