Requisition comment only shows the first comment

Description

When I am approving a requisition, the comment entered when the user authorized the requisition, shows as editable instead of as a saved comment. When I click View I only see the comment entered when I submitted the requisition. I should see two comments.
Steps to reproduce:

  1. Initiate a requisition, add a comment unique to this step.

  2. Authorize the same requisition, add a comment unique to the authorization.

  3. Navigate to approve the same requisition. When user opens the requisition, they see the Submitted comment has been saved, but the comment entered when Authorizing is editable

Acceptance Criteria:

  • Complete root cause analysis

  • Fix

Environment

test.openlmis.org
Chrome

Activity

Show:
Sam Im
August 15, 2017, 9:28 PM
Edited

This also happens. When I enter the comment during the first approval, the Authorized comment is still editable, but once I approve and then go to view the requisition, it shows in both the Authorized comment and the In_Approval comment. In this screenshot, the comment I entered when I authorized, is duplicated in the In_Approval comment as well.

Joanna Bebak
August 29, 2017, 11:43 AM

I checked, and the issues no longer occur.

Done

Assignee

Mateusz Kwiatkowski

Reporter

Sam Im

Labels

Story Points

3

Time tracking

0m

Time remaining

30m

Components

Sprint

None

Fix versions

Priority

Major