6.0.0-git
2019-03-19

[#12121] Signature not shown in IMP preferences
Summary Signature not shown in IMP preferences
Queue IMP
Queue Version 6.0.4
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester arjen+horde (at) de-korte (dot) org
Created 2013-03-15 (2195 days ago)
Due
Updated 2013-03-17 (2193 days ago)
Assigned 2013-03-16 (2194 days ago)
Resolved 2013-03-17 (2193 days ago)
Milestone
Patch No

History
2013-03-17 22:00:41 Git Commit Comment #7 Reply to this comment
Changes have been made in Git (master):

commit 8a066062668bd32a7a970339433e882dcee1cba5
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sun Mar 17 15:59:33 2013 -0600

     Catch bad prefs.php configs (Bug #12121)

  framework/Core/lib/Horde/Core/Prefs/Ui.php |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/8a066062668bd32a7a970339433e882dcee1cba5
2013-03-17 21:54:58 Michael Slusarz Comment #6
State ⇒ Not A Bug
Reply to this comment
Probably still makes sense to put something in the UI code to throw a 
more coherent error message.
2013-03-17 20:19:42 arjen+horde (at) de-korte (dot) org Comment #5 Reply to this comment
2013-03-16T21:15:23+01:00 WARN: horde [imp] PHP ERROR: filemtime():
stat failed for /srv/www/htdocs/horde/lib/../templates/prefs/.html
[pid 11287 on line 233 of "/usr/share/php5/PEAR/Horde/Template.php"]
This would indicate you have a broken prefs entry (prefs entries 
that are displayed on the page MUST have a 'type' key).
Spot on! There was an incorrect entry in 'config/prefs.local.php' 
(lesson learned, only override things that need to be changed). I had 
looked for problems in 'imp/config/prefs.local.php' (since the 
problems occurred only when changing e-mail preferences), but 
completely missed this one. Case closed.
2013-03-17 01:36:32 Michael Slusarz Comment #4 Reply to this comment
2013-03-16T21:15:23+01:00 WARN: horde [imp] PHP ERROR: filemtime(): 
stat failed for /srv/www/htdocs/horde/lib/../templates/prefs/.html 
[pid 11287 on line 233 of "/usr/share/php5/PEAR/Horde/Template.php"]
This would indicate you have a broken prefs entry (prefs entries that 
are displayed on the page MUST have a 'type' key).
2013-03-16 20:25:02 arjen+horde (at) de-korte (dot) org Comment #3 Reply to this comment
Can't reproduce on either IMP 6.0.5 or 6.1.0.
When running with logging DEBUG, I see the following being logged at 
the time I enter the page where identities are managed:

2013-03-16T21:15:23+01:00 DEBUG: horde [imp] Load config file 
(prefs.php; app: horde) [pid 11287 on line 480 of 
"/usr/share/php5/PEAR/Horde.php"]
2013-03-16T21:15:23+01:00 WARN: horde [imp] PHP ERROR: filemtime(): 
stat failed for /srv/www/htdocs/horde/lib/../templates/prefs/.html 
[pid 11287 on line 233 of "/usr/share/php5/PEAR/Horde/Template.php"]
2013-03-16T21:15:23+01:00 DEBUG: horde 1. 
Horde_Core_Prefs_Ui->generateUI() 
/srv/www/htdocs/horde/services/prefs.php:32
2. Horde_Template->fetch() /usr/share/php5/PEAR/Horde/Core/Prefs/Ui.php:579
3. filemtime() /usr/share/php5/PEAR/Horde/Template.php:233
4. Horde_ErrorHandler::errorHandler()

2013-03-16T21:15:23+01:00 DEBUG: horde [imp] SQL  (0,0010s)
         SELECT g.group_uid AS group_uid, g.group_name AS group_name FROM
           horde_groups g, horde_groups_members m WHERE m.user_uid = 
'arjen' AND
           g.group_uid = m.group_uid ORDER BY g.group_name [pid 11287 
on line 806 of "/usr/share/php5/PEAR/Horde/Db/Adapter/Base.php"]

Could this have to do something with this?
2013-03-16 00:28:39 Michael Slusarz Comment #2
Version ⇒ 6.0.4
Queue ⇒ IMP
State ⇒ Feedback
Reply to this comment
Can't reproduce on either IMP 6.0.5 or 6.1.0.
2013-03-15 13:37:05 arjen+horde (at) de-korte (dot) org Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Signature not shown in IMP preferences
Queue ⇒ DIMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
A signature can be set in the IMP preferences through

     http://www.example.com/services/prefs.php?app=imp&group=identities

This works fine and the signature is attached for the identity it is 
set for. The problem is, when revisiting the identity, the signature 
field is now empty. It is therefor no longer possible to modify the 
signature, nor remove it once it is set. It will be appended 
nevertheless. The only way to remove it, is by changing it directly in 
the MySQL database.

Saved Queries