cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
124 stars 67 forks source link

mvctranlator problem #351

Closed cbleek closed 7 years ago

cbleek commented 7 years ago

ZF3 Upgrade


I've commented https://github.com/cbleek/YAWIK/blob/feature/ZF3/module/Core/Module.php#L73

Otherwise the following Error occurs.

Catchable fatal error: Argument 1 passed to Zend\Validator\AbstractValidator::setDefaultTranslator() must be an instance of Zend\Validator\Translator\TranslatorInterface, instance of Zend\I18n\Translator\Translator given, called in /home/cbleek/Projects/YAWIK-ZF3/module/Core/Module.php on line 73 and defined in /home/cbleek/Projects/YAWIK-ZF3/vendor/zendframework/zend-validator/src/AbstractValidator.php on line 467

cbleek commented 7 years ago

@TiSiE : the line is still commented. So it propably can be deleted. Isnt it?

cbleek commented 7 years ago

@TiSiE please take a look an close the ticket

TiSiE commented 7 years ago

@kilip @cbleek Now, the error messages of the form validators are NOT translated.

example: Apply form: yk-351-1

cbleek commented 7 years ago

by removing the comments, the translations of error messages will work now. We've just tested it.