Squirrelmail - missing Subject/Body on some messages in 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squirrelmail (Ubuntu) |
Fix Released
|
Undecided
|
Nish Aravamudan | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* In Ubuntu 16.04, Squirrelmail has a regression from 14.04. Certain messages are missing the subject or message body. Investigation reveals that this is due to the removal of the /e modifier in preg_replace in PHP 7. The server logs show numerous error messages similar to the following:
[Mon Oct 24 19:40:36.248894 2016] [:error] [pid 4699] [client AAA.BBB.
* Upstream has resolved this issue:
https:/
* After applying the patch in 14359 (plus the trivial 14347 which is necessary to make 14359 apply cleanly), the problems go away.
[Test Case]
* Install and configure squirrelmail. Determine if all emails have subject and message body.
(@Scott, do you have a better test case?)
[Regression Potential]
* Squirrelmail as currently packaged is broken in 16.04, 16.10 and 17.04, due to syntax changes in PHP7.0. The risk for regression is consequentially very low, as the fix involves backporting upstream fixes that make the code-base PHP7.0-compliant.
---
PPA with the patches applied: https:/
Changed in squirrelmail (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Nish Aravamudan (nacc) |
description: | updated |
tags: | added: verification-done-yakkety |
tags: | removed: verification-needed |
The other test case than can be used is to check the apache error_log and verify it is not being filled with the "PHP Warning: preg_replace()" errors.