Skip to content

correction sur l'import du journal#2252

Merged
agallou merged 1 commit into
masterfrom
fix_import_journal
May 24, 2026
Merged

correction sur l'import du journal#2252
agallou merged 1 commit into
masterfrom
fix_import_journal

Conversation

@agallou
Copy link
Copy Markdown
Member

@agallou agallou commented May 24, 2026

2026-05-24T06:01:22.490Z request.CRITICAL: Uncaught PHP Exception TypeError: "AppBundle\Accounting\Model\Transaction::setAttachmentRequired(): Argument #1 ($attachmentRequired) must be of type bool, int given, called in /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Compta/CsvExtractor.php on line 50" at Transaction.php line 207 {"exception":"[object] (TypeError(code: 0): AppBundle\\Accounting\\Model\\Transaction::setAttachmentRequired(): Argument #1 ($attachmentRequired) must be of type bool, int given, called in /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Compta/CsvExtractor.php on line 50 at /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Accounting/Model/Transaction.php:207)"} []

on avait cette erreur, on s'assure donc bien de passer un booléen au setAttachementRequired

```
2026-05-24T06:01:22.490Z request.CRITICAL: Uncaught PHP Exception TypeError: "AppBundle\Accounting\Model\Transaction::setAttachmentRequired(): Argument #1 ($attachmentRequired) must be of type bool, int given, called in /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Compta/CsvExtractor.php on line 50" at Transaction.php line 207 {"exception":"[object] (TypeError(code: 0): AppBundle\\Accounting\\Model\\Transaction::setAttachmentRequired(): Argument #1 ($attachmentRequired) must be of type bool, int given, called in /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Compta/CsvExtractor.php on line 50 at /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/AppBundle/Accounting/Model/Transaction.php:207)"} []
```

on avait cette erreur, on s'assure donc bien de passer un booléen au setAttachementRequired
@agallou agallou requested review from Mopolo and stakovicz as code owners May 24, 2026 13:12
@agallou agallou merged commit 02238e3 into master May 24, 2026
12 checks passed
@agallou agallou deleted the fix_import_journal branch May 24, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants