#9703
An error appears when a field in a related pattern is an enumerated. Solved removing enumerates from the relatedEntities. 

git-svn-id: http://scmcit.gva.es/svn/gvnix/trunk/code@2313 69435866-3869-0410-973d-9f951a852354