mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-26 08:39:18 +02:00
Fix edit form: is_published reset, contact decoupling, note label, author name case
- Fix #1: Add is_published to getThesisRawFields() SELECT so the publish checkbox stays checked when editing an already-published TFE. - Fix #2: Rename 'Note contextuelle' → 'Note contextuelle relative à soutenance' in all templates and StudentEmail. - Fix #3: Update findOrCreateAuthor to also UPDATE the author name when a record is found by name (fixes inability to capitalise names). - Fix #4/#5: Decouple contact_interne (private author email) from contact_visible (public contact on TFE page). Add migration 037 to add contact_visible TEXT column to theses table and rebuild v_theses_full view. Update all controllers, templates, and DB methods to treat them independently. - Fix #6: Investigated libre→interne restriction — no code barrier found; likely resolved by is_published fix.
This commit is contained in:
20
app/storage/logs/error-2026-06-09.log
Normal file
20
app/storage/logs/error-2026-06-09.log
Normal file
@@ -0,0 +1,20 @@
|
||||
{"timestamp":"2026-06-09T10:12:58+00:00","ip":"127.0.0.1","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0","context":"thesis_edit_tx","exception":"PDOException","message":"SQLSTATE[HY000]: General error: 25 column index out of range","trace":"#0 /home/padlock/repos/xamxam/app/src/Database.php(2186): PDOStatement->execute()
|
||||
#1 /home/padlock/repos/xamxam/app/src/Controllers/ThesisEditController.php(233): Database->updateThesis()
|
||||
#2 /home/padlock/repos/xamxam/app/public/admin/actions/edit.php(36): ThesisEditController->save()
|
||||
#3 /home/padlock/repos/xamxam/app/router.php(46): include('...')
|
||||
#4 {main}","extra":{"thesis_id":143}}
|
||||
{"timestamp":"2026-06-09T10:12:58+00:00","ip":"127.0.0.1","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0","context":"thesis_edit","exception":"PDOException","message":"SQLSTATE[HY000]: General error: 25 column index out of range","trace":"#0 /home/padlock/repos/xamxam/app/src/Database.php(2186): PDOStatement->execute()
|
||||
#1 /home/padlock/repos/xamxam/app/src/Controllers/ThesisEditController.php(233): Database->updateThesis()
|
||||
#2 /home/padlock/repos/xamxam/app/public/admin/actions/edit.php(36): ThesisEditController->save()
|
||||
#3 /home/padlock/repos/xamxam/app/router.php(46): include('...')
|
||||
#4 {main}","extra":{"thesis_id":143}}
|
||||
{"timestamp":"2026-06-09T10:13:23+00:00","ip":"127.0.0.1","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0","context":"thesis_edit_tx","exception":"PDOException","message":"SQLSTATE[HY000]: General error: 25 column index out of range","trace":"#0 /home/padlock/repos/xamxam/app/src/Database.php(2186): PDOStatement->execute()
|
||||
#1 /home/padlock/repos/xamxam/app/src/Controllers/ThesisEditController.php(233): Database->updateThesis()
|
||||
#2 /home/padlock/repos/xamxam/app/public/admin/actions/edit.php(36): ThesisEditController->save()
|
||||
#3 /home/padlock/repos/xamxam/app/router.php(46): include('...')
|
||||
#4 {main}","extra":{"thesis_id":143}}
|
||||
{"timestamp":"2026-06-09T10:13:23+00:00","ip":"127.0.0.1","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0","context":"thesis_edit","exception":"PDOException","message":"SQLSTATE[HY000]: General error: 25 column index out of range","trace":"#0 /home/padlock/repos/xamxam/app/src/Database.php(2186): PDOStatement->execute()
|
||||
#1 /home/padlock/repos/xamxam/app/src/Controllers/ThesisEditController.php(233): Database->updateThesis()
|
||||
#2 /home/padlock/repos/xamxam/app/public/admin/actions/edit.php(36): ThesisEditController->save()
|
||||
#3 /home/padlock/repos/xamxam/app/router.php(46): include('...')
|
||||
#4 {main}","extra":{"thesis_id":143}}
|
||||
Reference in New Issue
Block a user