Duplicate result rows in Machine Tracker

Bug #277569 reported by Steinar Otto Sjøholt
2
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
Morten Brekkevold
3.4
Fix Released
High
Morten Brekkevold
3.5
Fix Released
High
Morten Brekkevold

Bug Description

Searching for an IP-address gives you multiple hits with the same combination of start time and end time.
(see attached screenshot)

The "IP search results" part of "MAC search" gives you the correct results...

This error started occuring after upgrading to version 3.4.3

Revision history for this message
Steinar Otto Sjøholt (ssj) wrote :
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

It appears that the bugfix for https://bugs.launchpad.net/nav/+bug/262303 caused this new bug.

The first hit row for each IP address if repeated for all the hit rows of that same IP address, masking the rest of the results from the user.

This is one of the bugs that should be fixed and released in a 3.4.4 release.

Changed in nav:
assignee: nobody → mvold
importance: Undecided → High
milestone: none → v3.5.0b2
status: New → Confirmed
Changed in nav:
milestone: v3.5.0b2 → v3.4.4
status: Confirmed → In Progress
milestone: v3.4.4 → none
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

There's also a side effect of this bug: If you are searching for a single IP address and check the "inactive" box when searching, only a single result row will be returned, even if there are multiple results in the database.

Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Fixed in rev af80ee8a3a58 and pushed to series/3.4.x: http://metanav.uninett.no/hg/series/3.4.x/rev/af80ee8a3a58

The same revision will be merged with series/3.5.x.

Changed in nav:
status: In Progress → Fix Committed
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.