Petr Kadlec
Petr Kadlec
There is no example in project-base, but described use-case exists on a project...
remove stale
In my point of view: Passing object instead of values for discount closes way for another kind of discount. For example manual discount from seller etc... I vote for preserve...
my fix is in https://github.com/shopsys/shopsys/pull/180 It is about replace `id` to `name.`
Constraints property $groups is lazy since Symfony 2.6. Solution of this problem: `Fp\JsFormValidatorBundle\Factory\JsFormValidatorFactory`: ``` protected function parseConstraints(array $constraints) { $result = array(); foreach ($constraints as $item) { $item->groups; // protect...
Or hotfix in JS: ``` FpJsFormValidator._checkValidationGroups = FpJsFormValidator.checkValidationGroups; FpJsFormValidator.checkValidationGroups = function (needle, haystack) { if (typeof haystack === 'undefined') { haystack = ['Default']; } return FpJsFormValidator._checkValidationGroups(needle, haystack); }; ```
Some changes are already done and Macos installation was reworked to mutagen. It's probably irrelevant now.
This is solved in the upcoming version 13.
It's related with https://github.com/shopsys/shopsys/pull/1563 and I should be resolved in this PR. -> I'm closing this issue as a duplicate.