Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Sympa 5.0.1 Minimal User Feedback on List Creation Errors
- From: Gwenaelle Bouteille <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Sympa 5.0.1 Minimal User Feedback on List Creation Errors
- Date: Fri, 22 Jul 2005 12:04:35 +0200
Edward Rynes wrote:
When a user tries to create a new list under Sympa 5.0.1 they fill out their list creation form and the information is passed from wwsympa.fcgi to admin::create_list_old. Create_list_old does some checking to see if the information is correct and if not it returns undef. This means that the Web server can only report that the creation failed but not WHY it failed. In the case of an illegal character in the listname this can be very frustrating for a user that doesn't know what the problem is.
There needs to be a way to pass error-codes back to wwsympa from the list creation code! Is anyone working on this or should I implement something myself?
Hello,
I am ending to work on error reports but I won't have any time more to do something about what you said.
My work is on cvs "sympa-topics" branch. It contains a new module "report.pm" where there are every functions to
notify users about there requests to sympa. I am finishing the internal documentation this afternoon.
I can propose you a way to report errors about admin::create_list_old :
Actually this function returns a ref(HASH) if '"ok" and returns "undef" else. I propose you to return a ref(HASH) every time :
If it failed the function must return
- the type of the error : 'intern' or 'user' or 'auth'
- the key in the template web_tt2/error.tt2
in order to be used by the function "report::reject_report_web("error type","key in tpl", ...)" that replaces "error_message"
This function cannot be called in the admin module as it can be used by different interface.
Bye.
-
[sympa-users] Sympa 5.0.1 Minimal User Feedback on List Creation Errors,
Edward Rynes, 07/19/2005
- Re: [sympa-users] Sympa 5.0.1 Minimal User Feedback on List Creation Errors, Gwenaelle Bouteille, 07/22/2005
Archive powered by MHonArc 2.6.19+.