Custom module list broken after merge records

Hello! this is driving me nuts…

I realized after upgrade to 7.10.2 the merge records was resulting in a blank page (only menu and sidebar) in my production environment.

I upgraded to 7.10.4 and I saw this was still happening so I tried to make one merge records in a custom module in development. Now whenever I click in this custom module list I only get a basic search form and I’ve repaired, restarted web server, php service, deleted cache… this only happens in my profile, not if I try a different login.

It seems like the merge records operation got stuck somehow… I don’t know… any hints? please…

If you have a blank page, you should have a PHP Fatal error in php_errors.log, or whatever your web server log is called…

Well the blank page resulting from the merge operation is not a full blank page, you can see the header menu and the sidebar.

Anyway, my real problem now is that clicking on the menu to get a list for that module returns only the quick filter form…

I mean, for this URL: https://precrm.lookupgestio.com/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DRRHH_trabajadores%26action%3Dindex%26parentTab%3DRR.+HH.

You get what you see on the picture

Let me rephrase that: any broken screen whatsoever, always check your logs, especially the PHP one. It’s the first thing you do.

When you get a broken screen, most likely the HTML generation was interrupted, and hopefully the logs have clues.

Yes, and sorry for not stating this before. I have explored the log with no success. suiteCRM is not raising errors :frowning:

thanks very much for your help.

Ah ok, sorry. I was finding it strange that you hadn’t looked at the logs, I know you’re a developer and you’re used to this sort of thing :slight_smile:

I don’t know if this might help

https://pgorod.github.io/Audit-File-Accesses/

to see if it’s looking for any file in the file system that it can’t find?

It looks like the listView is only calling the quick filter form and breaking after that… and I don’t get why this is happening over and over after a wrong operation because this only happens on my account.

Well, I will keep looking through the code… thanx

I kept looking for a solution completely desperate because this error started showing up for some users in the production environment.

I could state that had no relation to the merge operation but a filter or columns chosen for the list, I’m not sure.

I could solve the first problem, not getting the list, by Resetting user preferences. At least my users only have to report to me when they cannot see the list.

Maybe you could clear any existing filters, there might be a corrupted filter entry in the database.

It’s table saved_searches, if I’m not mistaken…

Yes I think so, but I don’t know how to clear existing filters without resetting user preferences… as I can see saved_search table is for the advanced searches you save.

But this error happens sometimes when I perform a filter and it gets auto saved on session…

Perhaps I can clean session vars… I will test this next time this error shows up.

Thanks!

I seem to remember a thread here where I had to find a way to delete a corrupted filter. We ended up finding a way, but I can’t remember what it was, and I can’t seem to find that thread again… grrr… :S

1 Like