Hi,

   (openca 0.9.2.1)

   When I run UpdateSearchAttibutes command on the CA node an error appears.

In my test environment I have no CRRs, and the command crashes while processing them.

   I patched the command and it ends now without errors.

 File: cmds/updateSerachAttributes
 Revision: 1.2.2.2

sub cmdUpdateSearchAttributes {
  ...
  ## update all objects
  foreach my $objecttype (@objects) {
  ...
    my $object = libDBGetFirstItem ($objecttype);
    # begin patch
    # New Code:
    if (not $object) {
       print addPreLogLine (gettext ("No objects found."));
       print closeLogSection();
       next;
    }
    # end patch
    do {
       ...

Regards, Jose



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to