Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049170 | Openbravo ERP | A. Platform | public | 2022-04-29 07:38 | 2022-05-18 11:41 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR22Q3 | |
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 | . |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0048373 | | closed | caristu | Provide test matchers for asserting JSON objects |
|
Attached Files | |
|
Issue History |
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 | bug_revision_view_page.php?rev_id=23984#r23984 |
2022-04-29 07:48 | caristu | Description Updated | bug_revision_view_page.php?rev_id=23985#r23985 |
2022-04-29 07:48 | caristu | Description Updated | bug_revision_view_page.php?rev_id=23986#r23986 |
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 |