Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Save doesn't work in family editor #7025

Open
romdricks opened this issue May 13, 2024 · 9 comments
Open

Bug: Save doesn't work in family editor #7025

romdricks opened this issue May 13, 2024 · 9 comments
Labels
bug status: needs information Further information is requested

Comments

@romdricks
Copy link
Contributor

Description

Changes made in Family Editor doesn't save.

  • ChurchCRM version: 5.7.0
  • PHP version the server running: PHP 8.1
  • DB Server and Version the server is running: MySQL
@romdricks romdricks added the bug label May 13, 2024
@respencer
Copy link
Contributor

That is very odd.

What are the exact steps to trigger that behavior, and is there any errors in the logs?

@respencer respencer added the status: needs information Further information is requested label May 14, 2024
@romdricks
Copy link
Contributor Author

There is no specific step and no error in logs.

Also, for some families, when I try to save, either the page goes blank or refreshes.

You can try make changes to State or Classifications for members etc.. and see if you having the same issue.

Thanks.

@romdricks
Copy link
Contributor Author

There is no specific step and no error in logs.

Also, for some families, when I try to save, either the page goes blank or refreshes.

You can try make changes to State or Classifications for members etc.. and see if you having the same issue.

Thanks.

Sorry @respencer I was checking for error in the wrong place.

This is the screenshot of when the page refreshes:
Screenshot 2024-05-14 124442

This is the screenshot of when the page goes blank:
Screenshot 2024-05-14 125044

@DawoudIO
Copy link
Contributor

Check the logs directory on disk

@romdricks
Copy link
Contributor Author

[14-May-2024 19:49:21 America/Jamaica] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'nte_DateEntered' cannot be null in /home/.../public_html/churchcrm/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php:204
Stack trace:
#0 /home/.../public_html/churchcrm/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php(204): PDOStatement->execute()
#1 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(1131): Propel\Runtime\Connection\StatementWrapper->execute()
#2 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(1024): ChurchCRM\model\ChurchCRM\Base\Note->doInsert()
#3 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(969): ChurchCRM\model\ChurchCRM\Base\Note->doSave()
#4 [internal function]: ChurchCRM\model\ChurchCRM\Base\Note->ChurchCRM\model\ChurchCRM\Base{closure}()
#5 /home/.../public_html/churchcrm/vendor/propel/propel/src/Propel/Runtime/Connection/TransactionTrait.php(35): call_user_func()
#6 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(982): Propel\Runtime\Connection\ConnectionWrapper->transaction()
#7 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Family.php(232): ChurchCRM\model\ChurchCRM\Base\Note->save()
#8 /home/.../public_html/churchcrm/FamilyEditor.php(421): ChurchCRM\model\ChurchCRM\Family->createTimeLineNote()
#9 {main}

Next Propel\Runtime\Exception\PropelException: Unable to execute INSERT statement [INSERT INTO note_nte (nte_ID, nte_fam_ID, nte_Text, nte_DateEntered, nte_Type) VALUES (:p0, :p1, :p2, :p3, :p4)] in /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php:1134
Stack trace:
#0 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(1024): ChurchCRM\model\ChurchCRM\Base\Note->doInsert()
#1 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(969): ChurchCRM\model\ChurchCRM\Base\Note->doSave()
#2 [internal function]: ChurchCRM\model\ChurchCRM\Base\Note->ChurchCRM\model\ChurchCRM\Base{closure}()
#3 /home/.../public_html/churchcrm/vendor/propel/propel/src/Propel/Runtime/Connection/TransactionTrait.php(35): call_user_func()
#4 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php(982): Propel\Runtime\Connection\ConnectionWrapper->transaction()
#5 /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Family.php(232): ChurchCRM\model\ChurchCRM\Base\Note->save()
#6 /home/.../public_html/churchcrm/FamilyEditor.php(421): ChurchCRM\model\ChurchCRM\Family->createTimeLineNote()
#7 {main}
thrown in /home/.../public_html/churchcrm/ChurchCRM/model/ChurchCRM/Base/Note.php on line 1134

@DawoudIO
Copy link
Contributor

Can you tell me what version of MySQL you are running as it is missing a default value

@romdricks
Copy link
Contributor Author

10.11.7-MariaDB

@DAcodedBEAT
Copy link
Contributor

@romdricks is this still an issue on 5.8.0 ?

@romdricks
Copy link
Contributor Author

@romdricks is this still an issue on 5.8.0 ?

Yes it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status: needs information Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants