🇫🇷France @julien.sibi

Account created on 11 July 2013, over 11 years ago
#

Recent comments

🇫🇷France julien.sibi

Hello,

I updated the patch with a function removing any impossible choice when submitting form.

Julien

🇫🇷France julien.sibi

Updated patch with merge of last changes and adding a weight to questions during test setup.
Let's try if tests are working.

🇫🇷France julien.sibi

Here is a first patch.

I made a refactor on user's admin result controller using new getUserChoice function on SelfEvaluationAnswer entity.

🇫🇷France julien.sibi

Here is a first patch adding this feature and including test of the feature.

Needs review :-)

Julien

🇫🇷France julien.sibi

Hello @richgerdes,

I was having errors with your patch when cloning a display mode on a order entity type.

I got it working changing the following lines.

In entityStorageBase :

$duplicate->{$entity_type->getKey('id')} = NULL; 

to

$duplicate->set($entity_type->getKey('id'), NULL);
$duplicate->{$entity_type->getKey('uuid')} = $this->uuidService->generate();

to

$duplicate->set($entity_type->getKey('uuid'), $this->uuidService->generate());

then in configEntityBase :
parent::postDuplicate();
to
parent::postDuplicate($storage);

But I don't really measure any consequences of this patch, and I think it needs review before using in production..

Julien

Production build 0.71.5 2024