Whne I create a new record, on saving it does not go back to the detail view of the record, but displays an empty page. The error does not tell anything, see screenshot.
Announcement
Collapse
No announcement yet.
Strange Behaviour and Error
Collapse
X
-
In such cases enabling printTrace for the log can help to figure out. https://docs.espocrm.com/administration/log/#parameters
-
Last edited by shalmaxb; 10-04-2024, 11:30 AM.
Comment
-
What is strange is, that the URL of the blank page is correct by entity and id. When I refresh the record, all is in place. I also can copy the URL of the blank page and insert in a new browser tab and it will be displayed correctly.
When I hit the button save and new, it works.
When I hit the button save and edit, it saves and keps the edit view open. I edit one thing and hit sav and then it works as should.Last edited by shalmaxb; 10-04-2024, 03:13 PM.
Comment
-
It looks like that some text field has a value that is not a string. But not sure enough. We could add a check for it but would be good to know how does this happen. Maybe some customization. Maybe you set something in formula.
Comment
-
yuri, that did it. I deactivated all formulas to find the culprit. It was a formula to create a textfield from an Id, which is fetched from a relationship. When there was no record selected from the related entity, this textfield had not been populated. I gave the field now a default value, so that on every new record, there is the textfiled populated automatically and now it works.
Thank you again. It is such an advantage for us users, that you don`t keep yourself out of this forum.
- Likes 3
Comment
Comment