Skip to content

In User Audit page, IP address are showing wrong for different actions #7720

@SyedaAfrida

Description

@SyedaAfrida

Bug description:
In User Audit page, IP address are showing wrong for different actions

  • In user audit page of Local/ national system admin login/logout IP showing with empty brackets eg. () • 10.0.1.4. However IP address of actions like Edit user, deactivate, reactivate user is showing correct
  • In User audit page of any FA/RA/Registrar login/logout IP showing with empty brackets eg. () • 10.0.1.4.
  • In User audit page of any FA/RA/Registrar actions like assign, view update, register etc Ip address are showing with (node fetch) eg.
    (node-fetch) • 10.0.1.4

Steps to reproduce:

  1. Login as National system admin
  2. Go to team
  3. Observe User audit page of any FA/RA/Registrar
  4. Observe User audit page of any National/local system admin

Actual result:

  • In user audit page of Local/ national system admin login/logout IP showing with empty brackets eg. () • 10.0.1.4. However IP address of actions like Edit user, deactivate, reactivate user is showing correct
  • In User audit page of any FA/RA/Registrar login/logout IP showing with empty brackets eg. () • 10.0.1.4.
  • In User audit page of any FA/RA/Registrar actions like assign, view update, register etc Ip address are showing with (node fetch) eg.
    (node-fetch) • 10.0.1.4

Expected result:
should show like Windows (Chrome) • 119.148.49.98

Screenshot/ Recording:

In.user.audit.page.IP.address.are.showing.wrong.for.different.actions.mp4

Note: Need to cherry pick as existed in V1.5.0

Tested on:
https://login.farajaland-qa.opencrvs.org/?lang=en

Version:
V1.6.0, V1.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Ready to build

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions