6.0.0-beta6
4/10/26

[#11230] Updating prefs that have custom on_init code broken.
Summary Updating prefs that have custom on_init code broken.
Queue Horde Base
Queue Version Git develop
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 6/24/12 (5038 days ago)
Due
Updated 8/29/12 (4972 days ago)
Assigned
Resolved 6/24/12 (5038 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2012 12:39:30 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit c27059c70d41c2ccac1530999b5d9f5677f6ebe9
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Jun 24 17:54:00 2012 -0400

     Bug: #11230 Ensure on_init is run before we validate the pref value.

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

http://git.horde.org/horde-git/-/commit/c27059c70d41c2ccac1530999b5d9f5677f6ebe9
06/24/2012 09:54:51 PM Michael Rubinsky Assigned to Michael Rubinsky
Taken from Michael Slusarz
State ⇒ Resolved
 
06/24/2012 09:54:35 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (develop):

commit c27059c70d41c2ccac1530999b5d9f5677f6ebe9
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Jun 24 17:54:00 2012 -0400

     Bug: #11230 Ensure on_init is run before we validate the pref value.

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

http://git.horde.org/horde-git/-/commit/c27059c70d41c2ccac1530999b5d9f5677f6ebe9
06/24/2012 07:56:32 PM Michael Rubinsky Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Base
Summary ⇒ Updating prefs that have custom on_init code broken.
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
When a preference, such as an enum type depends on it's list of 
acceptable values in the on_init anonymous function in 
config/prefs.php - the enum values are not available in 
Horde_Core_Prefs_Ui::_handleForm when the validation is done. This 
leads to it being impossible to update such preferences.

To test, try updating either turba's or kronolith's syncronization prefs.

Saved Queries