CRM icon indicating copy to clipboard operation
CRM copied to clipboard

deleting a system user and more

Open ChurchCRMBugReport opened this issue 7 years ago • 5 comments

I clicked the trashcan to delete a system user. There was no response. Refreshing the page shows that the user is still there. The user is a valid person in the database.

I get the following error:

PHP Fatal error: Uncaught Error: Call to a member function setUser() on null in .../ChurchCRM/model/ChurchCRM/Base/User.php:3759 Stack trace: #0 .../UserList.php(72): ChurchCRM\Base\User->getPerson() #1 {main} thrown in .../ChurchCRM/model/ChurchCRM/Base/User.php on line 3759

Also, when I navigate to the system users page, none of the menu buttons at the top will work anymore. I have to navigate back to the dashboard before I can use the menu items again.

Collected Value Title Data
Page Name /Menu.php
Screen Size 720x1280
Window Size 584x1280
Page Size 1836x1280
Platform Information Linux server.reeveshome.org 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
PHP Version 7.0.28-0ubuntu0.16.04.1
SQL Version 5.7.21-0ubuntu0.16.04.1
ChurchCRM Version 3.0.3
Reporting Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}

ChurchCRMBugReport avatar Apr 09 '18 22:04 ChurchCRMBugReport

@sjreeves is this you

DawoudIO avatar Apr 10 '18 01:04 DawoudIO

yes

On 4/9/2018 8:32 PM, George Dawoud wrote:

@sjreeves https://github.com/sjreeves is this you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ChurchCRM/CRM/issues/4235#issuecomment-379945169, or mute the thread https://github.com/notifications/unsubscribe-auth/AgX3t_CfhC880TZPme_Iyjga6T-KCK4Nks5tnAu5gaJpZM4TNTSd.

sjreeves avatar Apr 10 '18 02:04 sjreeves

Is this still an issue?

crossan007 avatar Apr 14 '18 13:04 crossan007

the only way i see this an issue is the user's person has been deleted

DawoudIO avatar Apr 14 '18 15:04 DawoudIO

I've upgraded to 3.0.4, and it's still behaving the same. If I click on the name, it brings me to a person page, which confirms that the user is associated with a person. Are there other diagnostics I should do?

sjreeves avatar Apr 18 '18 19:04 sjreeves

just tested it vis #6063 and it is working now

DawoudIO avatar Dec 03 '22 22:12 DawoudIO