Massimiliano Pala wrote:

I found a problem. It seems that in the setupInitialCert command when the
'dest' parameter is set to /basic_csr/ the libDBGetLastItem should be
called with DATATYPE set to "NEW_REQUEST" and not to "PENDING_REQUEST"
for otherwise it does not get the request (using DBI module).

That's correct. editCSR must be used with NEW_REQUEST but viewCSR must be used with PENDING_REQUEST. I splitted the elsif in two seperate tests.


The next problem is in the editCSR command.

At the end the code tries to add the $cmd_list with the right parameters
but the $cmd_list is never passed to the libSendReply as there the passed
parameter is $cmd_panel.

My question is: it is right to set the datatype to NEW_REQUEST ?

Yes and no, a split is necessary.


My second question is: can I substitute the $cmd_panel with $cmd_list ?

Yes, if you use CMD_LIST and you did it :)


Sorry for the trouble but it was impossible to check all the script for errors when I removed the sheets.

Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to