File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Catalog/Model/ResourceModel/Product
Eav/Model/Entity/Collection
lib/internal/Magento/Framework/Data/Collection Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,6 @@ public function _resetState(): void
399
399
{
400
400
parent ::_resetState ();
401
401
$ this ->_flatEnabled = [];
402
- $ this ->_initTables ();
403
402
$ this ->_addUrlRewrite = false ;
404
403
$ this ->_urlRewriteCategory = '' ;
405
404
$ this ->_addFinalPrice = false ;
@@ -420,6 +419,7 @@ public function _resetState(): void
420
419
$ this ->linkField = null ;
421
420
$ this ->backend = null ;
422
421
$ this ->emptyItem = null ;
422
+ $ this ->_construct ();
423
423
}
424
424
425
425
/**
Original file line number Diff line number Diff line change @@ -189,7 +189,12 @@ public function _resetState(): void
189
189
$ this ->_itemsById = [];
190
190
$ this ->_staticFields = [];
191
191
$ this ->_entity = null ;
192
- $ this ->_reset ();
192
+ $ this ->_selectEntityTypes = [];
193
+ $ this ->_selectAttributes = [];
194
+ $ this ->_filterAttributes = [];
195
+ $ this ->_joinEntities = [];
196
+ $ this ->_joinAttributes = [];
197
+ $ this ->_joinFields = [];
193
198
}
194
199
195
200
/**
Original file line number Diff line number Diff line change @@ -125,12 +125,14 @@ public function __construct(
125
125
public function _resetState (): void
126
126
{
127
127
parent ::_resetState ();
128
- $ this ->_reset ( );
128
+ $ this ->setConnection ( $ this -> _conn );
129
129
$ this ->_idFieldName = null ;
130
130
$ this ->_bindParams = [];
131
+ $ this ->_data = null ;
131
132
$ this ->map = null ;
132
133
$ this ->_fetchStmt = null ;
133
134
$ this ->_isOrdersRendered = false ;
135
+ $ this ->extensionAttributesJoinProcessor = null ;
134
136
}
135
137
136
138
/**
You can’t perform that action at this time.
0 commit comments