Pimcore core class override EncryptedField



Currently i am having issues overriding the following class: https://github.com/pimcore/pimcore/blob/master/models/DataObject/ClassDefinition/Data/EncryptedField.php because there is a typo on this file that is giving an error. The typo is in line 309 “data” should be $data. Can i override this with the following class with this config:


Or how can i override this class to fix this issue?


create a PR on github to fix it.

In the mean time, you could overwrite it by creating a new object editable and give it the same tag as the original one.