[Spce-user] REST patch customercontact does not work...

Alex Lutay alutay at sipwise.com
Thu Feb 23 11:48:07 EST 2017


Hi,

Is it reproducible with the latest mr4.5.3?

Does one customer affected only or all?
(if one - probably DB issue, if all - we need to check the code then).

Can you please provide steps to reproduce it on _clean_ vagrant VM?
You can find it here:
> https://www.sipwise.org/doc/mr4.5.3/spce/ar01s03.html#_vagrant_box_for_virtualbox

It will speed up fix a lot here. Thank you!

P.S. I wasn't able to find any similar bugfixes internally.

On 02/23/2017 04:57 PM, Walter Klomp wrote:
> We’re trying to get REST interface to work in our system.  (running mr4.5.1)
> 
> Why does this fail ?  Anything more we can do to debug?
...
> Feb 23 14:33:46 sipwise ngcp-panel: ERROR: IP=xx.xx.xx.xx
> CALLED=API[PATCH 200]/api/customercontacts/6567 TX=14A5CD28A1B708D0
> USER=ossuser DATA={} MSG="" LOG="Caught exception in
> NGCP::Panel::Controller::API::CustomerContactsItem->PATCH "Use of
> uninitialized value in numeric ne (!=) at
> /usr/share/perl5/NGCP/Panel/Role/API/CustomerContacts.pm line 102, <$fh>
> line 1.""

-- 
Alex Lutay



More information about the Spce-user mailing list