[Yanel-dev] Resource creator and Yanel User resource

Michael Wechner michael.wechner at wyona.com
Wed Mar 14 22:54:41 CET 2007


Paloma Gomez wrote:

> Hi all,
>
> I have been working recently on the creation of new yanel users using 
> the features provided by the resource creator. I have a problem I 
> don't know how to solve.
>
> The resource creator displays a form which has been created using the 
> set of properties defined by the original resource but it does not 
> provide for interaction with the user (there is no way of displaying 
> error messages, for instance). In the case of the yanel resource it 
> means that the yanel resource can check if the data supplied is valid 
> but it has no means of telling the user the data introduced is 
> incorrect (e.g, not valid email address, empty userId, the group  does 
> not exist ...). So the only thing the yanel resource can do is not 
> doing anything at all ( it does not create the new yanel user and it 
> does not tell the user about it - it just writes an error message in 
> the log file).  The bigger problem here  is that the resource creator 
> assumes the creation process is always successful and therefore it 
> always creates a yanel-rti file and displays a link to the new yanel 
> user, no matter if this yanel user was actually created or not.
>
> Maybe we could  somehow improve the resource creator to take into 
> account unsuccessful attempts to create a reource. WDYT?


+1

Any suggestions on how to improve it are very welcome.

Btw, I will try to fix resp. get rid of the rti and replace it by rc by 
tomorrow.

Cheers

Michael

>
> Regards,
> Paloma
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list