Case Description field text entry isn't saved after upgrading to 7.10.4

7.10.5 breaks it worse.
7.10.4 would not save description when ticket was created. But would save it if you edited an existing ticket and added the description.

Upgraded to 7.10.5 and now it does not save when you edit the case either.

lw9474 thanks for the details, can you please post on Github, in the Issue I link above? There’s a developer paying attention to this, we should keep all the up-to-date details there.

Thanks

I did a bump on git hub also.
After 7.10.6 still getting error
[Fri Jun 15 15:25:45 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

i have found a workaround for me.
So i can save the description in editing cases again.

I renamed the file \modules\cases\views\view.edit.php to \modules\cases\views\view.edit.php_original
So i disabled this file and all works fine.
Until now i can not find any problems with creating and editing cases.

I use version 7.10.7
can someone tell me if something will not work anymore?

maybe it helps someone!!

Does the “Threaded Case updates” area work well?

Yes the cases updates works also.
But they works also before.
Only the description wont saved.

I just saw there’s a new PR for this issue

https://github.com/salesagility/SuiteCRM/pull/6165

check it out

We are still having this issue. Since 7.10.4
I did a fresh install of 7.10.10.
Created a test account.
Create a test contact.
Created a test case. Put in a description saved the case.
Go back into the case. No description is saved.

Did you try the fix proposed in the PR I linked above?

Please tell us if it works for you. Thanks

Sorry about my confusion.
I compared the code in my production directory and the test 7.10.10 and the /var/www/html/suitecrm/modules/Cases/views/view.edit.php are identical and the edit function does work.

The problem is that it still does not save the description when you create a new case.
I did for test cases. I input a description for all four.
All five test cases have had a description length of 0 after they were entered.
I edited case number 2 and put a description back in and it did save that.

mysql> select case_number,length(description) from cases order by 1;
±------------±--------------------+
| case_number | length(description) |
±------------±--------------------+
| 1 | 0 |
| 2 | 79 |
| 3 | 0 |
| 4 | 0 |
| 5 | 0 |
±------------±--------------------+
5 rows in set (0.00 sec)

There are no error in /var/log/httpd/error_log on case entry.

THX

Wish

What about Javascript errors in browser’s web console, anything there?

Are you using the TinyMCE editor for the description? Can you please post a screenshot of your “add new case” screen?

You can paste it here:
https://pasteboard.co

That appears to be the case regarding tinymce.

https://pasteboard.co/HQ3CmIR.png

Here is the console.

https://pasteboard.co/HQ3HqeE.png

THX

Wish

Sorry, I’m afraid I can’t make much from that.

Maybe all that can be done at this point is to search GitHub for any open issue with this problem, or maybe open a new one if necessary.

(unless you can set up a debugger and fix the code yourself? :slight_smile: )

i only have a workaround for this problem.

Rename the file from my post #69476

and add a quick create menu for cases as described in this post #41130

here is a screenshot of my suitecrm cases
cases

Thanks. A ticket got opened on GITHUB this morning.
I will try to do this until it gets resolved.

For reference: https://github.com/salesagility/SuiteCRM/issues/6570

as lugerhias indicated above
the workaround also works for me … using 7.8.31
So i can save the description in editing cases again.

I renamed the file \modules\cases\views\view.edit.php to \modules\cases\views\view.edit.php_original
So i disabled this file and all works fine.
thank you!

Actually I found another problem behind this…
Creating a new case did NOT save the description (i.e. the problem was “reversed”), editing old case was Ok since previous modification.

The problem was only with Chrome (IE works fine apparently, we do not use anything else)…
I disabled Ajax for Case module , rebuilt and same problem…
… until I asked the user to do Ctrl-F5 to clear his local cache and now the whole issue creating (new) and editing appears to be solved :slight_smile:

What I don’t understand is - are the fixes on Github included in your versions of the software? If so, why are further changes necessary?

I don’t understand if there’s any need for more action on this. On Github it appears to be solved, merged and closed…

I hava one CRM instance on 7.10.15 with no custom code in Cases and I have this problem (upon first save DESC is not saved).

I have applied FIX @bmwtourer has mentioned (rename file AND disable AJAX), only then I could save this.

On new 7.10.24 this is not happening, so I think update of old projects is required.

1 Like