Open wisconaut opened 2 months ago
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.
Expected behavior
Mutations work.
Actual behavior
Discussed in https://github.com/orgs/pimcore/discussions/17026
The problem occurs because the $tableDef variable is empty. This is not filled in the “getFieldDefinition”. This seems to be due to the name of the field:
Ueberstand~tblMengenumrechnung
The table is in an object brick and therefore there is the prefix “Ueberstand”. The function doesn’t seem to be able to cope with this and ends up with “return zero”.
I copied the element and used it directly in my class. This means that the GraphQL interface runs smoothly. I was able to work around/solve the problem for myself at first.
Steps to reproduce