Netmap crashes NAV if install has old simplejson library

Bug #1052435 reported by Roy Sindre Norangshol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Roy Sindre Norangshol

Bug Description

Older versions of SimpleJson doesn't have the JSONDecodeError class which is simply a subclass of ValueError.

Fix: Fall back to catching ValueError instead to be backward compatible with old SimpleJson library.

Tags: netmap web
Revision history for this message
Roy Sindre Norangshol (norangshol) wrote :

Available from http://absint.online.ntnu.no/~norangsh/nav-mirror_patch1of2_421c58f84714.patch if your unable to wait for next bugfix release and confirmed to work with RHEL6.

Changed in nav:
status: Confirmed → Fix Committed
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Not really critical. We generally target software version available on Debian stable, which is already quite old. Stable offers simplejson 2.1, which this works on. Having it work on earlier versions is only nice-to-have.

Also, where the ref to the committed changeset?

Changed in nav:
importance: Critical → Medium
Revision history for this message
Roy Sindre Norangshol (norangshol) wrote :
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.