Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049170 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2022-04-29 07:38 | 2022-05-18 11:41 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049170: matchesObject should not compare array properties with strict equality | |||||||
Description | Given: json1 = { arrayProperty: [{p1: 'A', p2: 'B'}] } json2 = { arrayProperty: [{p1: 'A'}] } Then: assertThat(json1, matchesObject(json2)) must be true. But currently this is not being asserted correctly as it returns false. | |||||||
Steps To Reproduce | . | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0136849) hgbot (developer) 2022-04-29 07:47 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/580 [^] |
(0136934) hgbot (developer) 2022-05-04 13:11 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 92044af7d3b9bc3d71ad6b94f80f5404cf2b9e79 Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 04-05-2022 08:26:11 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/92044af7d3b9bc3d71ad6b94f80f5404cf2b9e79 [^] fixes BUG-49170: matchesObject shouldn't compare array props with strict equal --- M src-test/src/org/openbravo/test/matchers/json/JSONMatcher.java M src-test/src/org/openbravo/test/matchers/json/JSONMatchersTest.java --- |
(0136935) hgbot (developer) 2022-05-04 13:11 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/580 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-04-29 07:38 | caristu | New Issue | |
2022-04-29 07:38 | caristu | Assigned To | => Triage Platform Base |
2022-04-29 07:38 | caristu | OBNetwork customer | => No |
2022-04-29 07:38 | caristu | Modules | => Core |
2022-04-29 07:38 | caristu | Triggers an Emergency Pack | => No |
2022-04-29 07:39 | caristu | Assigned To | Triage Platform Base => caristu |
2022-04-29 07:47 | hgbot | Merge Request Status | => open |
2022-04-29 07:47 | hgbot | Note Added: 0136849 | |
2022-04-29 07:48 | caristu | Status | new => scheduled |
2022-04-29 07:48 | caristu | Description Updated | View Revisions |
2022-04-29 07:48 | caristu | Description Updated | View Revisions |
2022-04-29 07:48 | caristu | Description Updated | View Revisions |
2022-05-04 13:09 | alostale | Relationship added | related to 0048373 |
2022-05-04 13:11 | hgbot | Merge Request Status | open => approved |
2022-05-04 13:11 | hgbot | Resolution | open => fixed |
2022-05-04 13:11 | hgbot | Status | scheduled => closed |
2022-05-04 13:11 | hgbot | Fixed in Version | => PR22Q3 |
2022-05-04 13:11 | hgbot | Note Added: 0136934 | |
2022-05-04 13:11 | hgbot | Note Added: 0136935 | |
2022-05-05 11:09 | caristu | Issue cloned | 0049226 |
2022-05-05 11:09 | caristu | Relationship added | related to 0049226 |
2022-05-18 11:41 | caristu | Relationship deleted | related to 0049226 |
Copyright © 2000 - 2009 MantisBT Group |