Menu

#2682 pyosaf: Fix some issues in NTF utils

5.18.02
fixed
nobody
None
defect
pyosaf
-
major
False
2018-06-08
2017-11-15
No

There is the issue with value type handling and other issues in the NTF utils that need to be fixed.

Related

Wiki: ChangeLog-5.18.02

Discussion

  • Nguyen TK Luu

    Nguyen TK Luu - 2017-11-15
    • status: unassigned --> accepted
    • assigned_to: Nguyen TK Luu
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2017-12-20
    • summary: pyosaf: Fix some issues with value type handling in NTF utils --> pyosaf: Fix some issues in NTF utils
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -There are some issues with value type handling in the new NTF producer and subscriber utils that need to be fixed.
    +There is the issue with value type handling and other issues in the NTF utils that need to be fixed.
    
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2017-12-20
    • status: accepted --> review
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2018-01-11
    • status: review --> fixed
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2018-01-11

    commit 0d6d652b63f30cc994403fa4be6780142cb2c406 (origin/develop)
    Author: Nguyen Luu nguyen.tk.luu@dektech.com.au
    Date: Wed Dec 20 13:33:37 2017 +0700

    commit 0e513103d55ec22b285da27943c0111dc262e164 (origin/release)
    Author: Nguyen Luu nguyen.tk.luu@dektech.com.au
    Date: Wed Dec 20 13:33:37 2017 +0700

    pyosaf: Fix some issues in NTF utils [#2682]
    
    agent.py:
      - Update some default values for notificationSend.
      - Correct NtfAgent.finalize() to handle BAD_HANDLE error code.
    producer.py:
      - Fix type conversion when assigning value of type SaNtfValueT.
      - Keep the notification info for reuse after sending notification.
      - Update the assigning of specificProblems for alarm notification.
      - Harden 'None' value checking.
    subscriber.py:
      - Support handling of long-dn objects in subscribed/read notifications.
      - Fix the parsing of additionalText and specificProblems in
        subscribed/read notifications.
      - Explicitly free the notification after parsing to avoid memory leak.
      - Fix some semantic errors.
    reader.py:
      - Add the missing function to set search direction when creating
        filter for notificationRead.
      - Check filterAllocate result before initializing notificationRead.
    
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2018-06-08
    • assigned_to: Nguyen TK Luu --> nobody
     

Log in to post a comment.