platform icon indicating copy to clipboard operation
platform copied to clipboard

User sees messages for data-audit for field bigint type when the value didn't change.

Open anyt opened this issue 4 years ago • 0 comments

Summary

Steps to reproduce

  • Login to the application as an administrator.
  • Go to System / Entities / Entity Management.
  • Go to the "Business Unit" entity page.
  • Click "Edit" and set "Auditable" option to "Yes", then "Save and Close".
  • Click to "Create field".
  • Fill the form with Name: bigint_field, Storage Type: Table column, Type: BigInt and click "Continue".
  • On the second step of the field create wizard, change "Auditable" option to "Yes", click "Save and Close".
  • After the redirect back to the Business Unit page, click the "Update Schema" button and confirm processing with "Yes, Proceed".
  • You should see "Schema updated." flash message.
  • Go to System / User Management / Business Units.
  • Edit any Business Unit and set the value for the Bigint_field to "111122", click "Save and Close".
  • Make sure the message consumer is running at the background (php bin/console oro:message-queue:consume -vv command).
  • Click "Edit" again and click "Save and Close" without editing any fields.
  • Click to "Change History". Actual Result 🔴 There is a record, that bigint_field was changed from 1111222 to 1111222: Screenshot 2021-02-23 at 1 27 33 PM

Expected Result
🟢 There should be no records about bigint_field changes when the value was not changed.

Details about your environment

  • OroPlatform version: 4.2.1
  • PHP version: 7.4.14
  • Database (MySQL 8.0) version

Internal ticket id #BAP-19569

anyt avatar Feb 23 '21 11:02 anyt