Publishing the attached survey to a clean, newly installed Portal 10.6 server gives the following error:
The problem seems to lie with changing a select_one field's data type to esriFieldTypeInteger even though the select_one points to integer choice values:
If I don't change the data type or change it to esriFieldTypeString then the publishing error doesn't occur.
The publishing error also does not occur when publishing to AGOL.
Your help will be appreciated.