[ixpmanager] artisan rir:generate-object throws ksort() error

Leon Meßner l.messner at physik.tu-berlin.de
Mon Mar 4 12:52:17 GMT 2019


Hi Yann,

On Mon, 04 Mar 2019 07:39:35 +0000
Yann Robin <yann at islandbridgenetworks.ie> wrote:

> Hello,
> 
> Yes can you please open a github issue ?

issue is https://github.com/inex/IXP-Manager/issues/512. Thanks a lot
for this excellent software.

Regards,
Leon
 
> Leon Meßner wrote:
> >
> > Hi,
> >
> > running IXPM v4.9.2 i get the following error when generating any
> > template in the ${IXPROOT}/resources/views/api/v4/rir/ path:
> >
> > # ./artisan rir:generate-object autnum
> > In Generator.php line 281:
> > ksort() expects parameter 1 to be array, null given
> >
> > Lines around 281 of ${IXPROOT}/app/Tasks/Rir/Generator.php are:
> >
> > 280
> > 281 ksort( $rsclients[ 'clients' ], SORT_NUMERIC );
> > 282
> > 283 return $rsclients;
> > 284 }
> >
> > When commenting line 281, output of './artisan rir:generate-object
> > autnum' seems reasonable (and sorted by ASN).
> > Has anyone encountered this error? I can open a github issue, if this is
> > of help and provide more output.
> >
> > Regards,
> > Leon
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie
> > Unsubscribe or change options here: 
> > https://www.inex.ie/mailman/listinfo/ixpmanager  



More information about the ixpmanager mailing list