grommunio / grommunio-sync

EAS (Exchange ActiveSync) interface for grommunio
GNU Affero General Public License v3.0
30 stars 15 forks source link

Uncaught Error: Undefined constant "PR_FLAG_ICON" #5

Closed amaccuish closed 1 year ago

amaccuish commented 1 year ago

Hi. I have a user with a mailbox that is constantly in loop detection, but the problematic item is never identified, though there is an error saying I should file a bug

01/02/2023 18:30:05 [23604] [FATAL] [xx@xx.xx.xx] Fatal error: /usr/share/grommunio-sync/lib/grommunio/mapimapping.php:387 - Uncaught Error: Undefined constant "PR_FLAG_ICON" in /usr/share/grommunio-sync/lib/grommunio/mapimapping.php:387 Stack trace:

0 /usr/share/grommunio-sync/lib/grommunio/mapiprovider.php(1314): MAPIMapping::GetMailFlagsProperties()

1 /usr/share/grommunio-sync/lib/grommunio/mapiprovider.php(1295): MAPIProvider->setEmail(Resource id #108, Object(SyncMail))

2 /usr/share/grommunio-sync/lib/grommunio/importer.php(404): MAPIProvider->SetMessage(Resource id #108, Object(SyncMail))

3 /usr/share/grommunio-sync/lib/request/sync.php(1519): ImportChangesICS->ImportMessageChange('Uaed3e:51000000...', Object(SyncMail))

4 /usr/share/grommunio-sync/lib/request/sync.php(536): Sync->importMessage(Object(SyncParameters), Array, 'Modify', Object(SyncMail), false, 'Uaed3e:51000000...', false, 1)

5 /usr/share/grommunio-sync/lib/request/requestprocessor.php(98): Sync->Handle(0)

6 /usr/share/grommunio-sync/index.php(114): RequestProcessor::HandleRequest()

7 {main}

thrown (1) 01/02/2023 18:43:10 [23287] [ERROR] [xx@xx.xx.xx] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'Sync' at 01/02/2023 18:30:03 with pid '23604' terminated unexpectedly or is still running. 01/02/2023 18:43:10 [23287] [ERROR] [xx@xx.xx.xx] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the grommunio dev team.

amaccuish commented 1 year ago

Closing as already fixed, sorry https://github.com/grommunio/grommunio-sync/commit/eacffd30aa9738f075f8957bb86572d29220912c