Michael,
> Hi Chris,
>
> I added some notes to the OpenCA guide. You can find them in the tech
> area (batch and database). I also migrated all batch functions so you
> can test the complete stuff.

I am having a bit of trouble with the batch processors.

I am looking at check_pin.sub, the lines...

    my $dataset = $state_machine->get_data_field (GLOBAL_ID => $id,
FIELD=> "BATCH_PIN_REF");
        ##CLc
    if (not $dataset or not exists $dataset->{NUMBER})

There seems to be a problem with {NUMBER}. The "if" always fails as there
is no "$dataset->{NUMBER}" returned. If I change the line to:

    if (not $dataset)

Then it goes on to the next command fine, but that is:

my $enc_pin = $db->getItem (DATATYPE => "PRIVATE", KEY =>
$dataset->{NUMBER});

which than fails again because of the "$dataset->{NUMBER}".

How is "NUMBER" referenced ? Is it correct ?

Chris...


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to