You are not logged in.
Pages: 1
Topic closed
filling out a new ticket, the "helpdesk" interface correctly auto-fill the user's email address from the profile.
but the "command center" interface does not, even though the user does have an email address in the profile.
I am not sure if this is a bug, or perhaps just some profile permission/rights setting for "command center" that I have set wrong?
I do try to find the UI generator for this form but not positive where it is.
(I do try to search the bugtrack and the french forums for several days, but my french is very bad and google transl. not always helpful...)
many thanks for any help
ps --
I guess that perhaps this block in inc/tracking.class.php prepareInputForAdd() sets it automatically even if the form field is blank?
if (isset($input["emailupdates"])&&$input["emailupdates"]=="yes"&&empty($input["uemail"])){
$user=new User();
$user->getFromDB($input["author"]);
$input["uemail"]=$user->fields["email"];
}
but still nice if the helpdesk.php form field uemail is filled in, it confuse the users less!..
Last edited by mags (2006-07-11 20:12:28)
non toxique (si utilisé comme prescrit)
Offline
EDIT: removed ugly fix, this is slightly better I think:
https://dev.indepnet.net:8080/glpi/ticket/610
/EDIT
Last edited by mags (2006-07-12 18:15:25)
non toxique (si utilisé comme prescrit)
Offline
How to enter a free mail with your fix ???
I will try to make a more user-friendly system.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
hi MoYo
apologies but I'm not sure I understand what you mean 'enter a free mail' ?
non toxique (si utilisé comme prescrit)
Offline
ah ok got it. that's what I thought but wasn't quite sure.
but the field remains editable, the user could enter a different email. no?
non toxique (si utilisé comme prescrit)
Offline
Oups sorry I do not read correctly your patch.
In fact there is no problem of uemail.
If you let it blank, the uemail is automatically replace by the author email.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
If you let it blank, the uemail is automatically replace by the author email.
hi Moyo
after looking at code I realized that, thank you.
but for some (many!) users it is confusing/annoying that the field is blank, and they will spend time typing in their email address. and complain that they must type in their email every time (yes even after they are told/shown they needn't type the email, they will still do it and complain!)
it's not such a big deal, I don't mind to locally patch glpi, if others don't think this patch should be included. it's cool. ^_^
in any case: my thanks again to Moyo & JMD & rest of glpi devs, for glpi! it is making my job a lot easier!
non toxique (si utilisé comme prescrit)
Offline
interesting thing include in the SVN
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
nice! many thanks!!
non toxique (si utilisé comme prescrit)
Offline
Pages: 1
Topic closed