I created a recruiter profile and then created a job.
I selected the "job per file upload" option and created a job without uploading a file. I was able to save and had no error message.
When I click the manage jobs I get this error:
Error
The website encountered an unexpected error. Please try again later.
Error messageEntityMetadataWrapperException: Unable to get the data property file as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 421 of /srv/www/mysite.com/mysite/profiles/recruiter/modules/entity/includes/entity.wrapper.inc).
I created another recruter and several other jobs with links and via the template and the jobs appeared as expected. I then created another job with the upload file and did not include an file and the error came up as above.
I believe we need a test for a required field so the "job per file upload" can not be saved without an uploaded file.
Comments
Comment #1
fagoIndeed. I fixed that error when no file is there + made the file required by default.