we uprgraded our production SuiteCRM instance from 7.9.7 to 7.10.4. After upgrading, when we create a new case and save it, the text we typed in in the Case Description (Description) field isn’t saved. The Description is blank in the assingment notification e-mail. Also blank is the Description field in the Detail View of the newly created case.
If we edit the case we just created and type in or copy-paste some text in the Descption field, this time after saving the ticket the text is saved and displayed.
This doesn’t appear to be a system wide issue related to the Text Area type fields. For instance, in the Opportunities module, when we create a new opportunity, the text in the corresponding Desccription field text is stored when the user saves the new opportunity entry. Same with the Calls Module etc. The issue seems specific to cases.
Can you please point me how to check and troubleshoot this issue? Any help is truly appreciated.
Some system information:
OS: CentOS Linux 7.2.1511 (Core)
Plesk version: 12.5.30 Update #75
PHP version: 7.0.29
MySQL version: 5.5.56
You can check the modules/Cases/SugarFeeds/CaseFeed.php file and can write the following code there. After saving a new records you will have to check the log files. From there you can see the description value of the current record.
Unfortunately, after adding this line I cannot create new cases. When I click save SuiteCRM crashes and I see an HTTP error 500 in my browser (This page isn’t working. SuiteCRM is currently unable to handle this request. HTTP ERROR 500).
No, it isn’t me but thank you for letting me know.
Not my case (I can see the description field and I can type in it. My issue is that when I save the new case, what I typed in the description field isn’t saved) but I will follow the topic.
I do not believe this is browser specific. I have tried it with Chrome, Firefox, Edge on Linux and Window10.
Just tried again with Edge same error:
[Tue May 08 11:41:57 2018] [error] [client 192.168.101.10] PHP Notice: Undefined property: aCase::$type in /var/www/html/suitecrm/modules/AOP_Case_Events/CaseEventsHook.php on line 74, referer: http://192.168.101.55/suitecrm/index.php
What exactly is the code difference that’s confusing you? I just checked my 7.10.5 and it looks like these fixes are already there. Note that box fixes are on the same block of code, on the same file, and that only one of them was merged into the app in 7.10.5. The other one is superseded by this one.
Now, how exactly do you get the bug? There is a user on that PR claiming that
I analize the situation with my user and she register cases using the cases subpanel inside accounts module. When she register using cases module works fine.