6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6888] missing column in function _renderVarDisplayEnd Form/Renderer.php
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. .. .. __ [__]|_/ \ /| / ` | || \ \/ |___\__.
Comment
>> Can you please point out a place in a Horde app where this happens, > >> or supply a small script to reproduce the problem? > > > > > > I don't know if this would happen in a normal Hordeinstallation. > > We want to disallow our users to edit the "My email Addresses" field > in Ingo Vacaions, > > Therefor we patched ingo/vacation.php. See the Attached Image > > > > horde/ingo# diff -u vacation.php.orig vacation.php > > --- vacation.php.orig 2008-05-01 00:11:50.000000000 +0200 > > +++ vacation.php 2008-06-10 15:13:30.000000000 +0200 > > @@ -50,7 +50,7 @@ > > $form->setSection('advanced', _("Advanced Settings")); > > if (empty($conf['hooks']['vacation_addresses']) || > > empty($conf['hooks']['vacation_only'])) { > > - $v = &$form->addVariable(_("My email addresses:"), 'addresses', > 'longtext', true, false, null, array(5, 40)); > > + $v = &$form->addVariable(_("My email addresses:"), 'addresses', > 'longtext', true, true, null, array(5, 40)); > > $v->setHelp('vacation-myemail'); > > } > > $v = &$form->addVariable(_("Addresses to not send responses to:"), > 'excludes', 'longtext', false, false, null, array(10, 40)); > > --------------------------------------------------- > > > > I think this may happen in any Form where Readonly and Readwrite > Variables are used, but i don't > > konw if this is happening anywhere else. If it happens anyware else > in Horde there is a 50% chance that we don't see it. > > > > In case of readonly the functions _renderVarDisplayBegin and > _renderVarDisplayEnd are used instad of _renderVarInputBegin and > _renderVarInputEnd which have one column less. > > The other idea would be not to call _renderVarDisplay* but > _renderVarInput* and parse the readonlyflag to _renderVarInput* so > that readonly option is inserted in the input htmltag > > > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers