In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
278 |
[In-Portal CMS] Data Management |
bug report |
always |
2009-09-09 06:56 |
2010-01-11 22:05 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
|
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.0.2 |
|
Reference:
|
|
Change Log Message:
|
|
Estimate Points:
|
0 |
|
Summary:
|
0000278: Inability to load category items by non-id fields |
Description:
|
Currently category items, like links, products, etc. are loaded only by ID. When attempt is made to load them by non-id field, like ResourceId or even custom field, then nothing is loaded.
I propose to keep current category item loading form only for cases, when they are loaded automatically and restore default loading logic for cases, when manual load is made by programmer. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
category item load clause.patch (1,139) 2009-10-06 05:55 http://tracker.in-portal.org/file_download.php?file_id=76&type=bug |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2010-01-11 22:05 |
Dmitry |
Note Added: 0001370 |
|
2010-01-11 22:05 |
Dmitry |
Status |
resolved => closed |
2009-10-20 09:03 |
alex |
Note Added: 0000934 |
|
2009-10-20 09:03 |
alex |
Status |
reviewed and tested => resolved |
2009-10-20 09:03 |
alex |
Fixed in Version |
=> 5.0.2 |
2009-10-20 09:03 |
alex |
Resolution |
open => fixed |
2009-10-20 09:03 |
alex |
Changeset attached |
5.0.x r12715 |
2009-10-17 02:03 |
Dmitry |
Note Added: 0000903 |
|
2009-10-17 02:03 |
Dmitry |
Assigned To |
!COMMUNITY => alex |
2009-10-17 02:03 |
Dmitry |
Status |
needs testing => reviewed and tested |
2009-10-06 05:55 |
alex |
Time Estimate Removed |
1 => |
2009-10-06 05:55 |
alex |
Assigned To |
alex => !COMMUNITY |
2009-10-06 05:55 |
alex |
Status |
active => needs testing |
2009-10-06 05:55 |
alex |
File Added: category item load clause.patch |
|
2009-10-06 01:02 |
Dmitry |
Note Added: 0000822 |
|
2009-10-06 01:02 |
Dmitry |
Assigned To |
Dmitry => alex |
2009-10-03 07:54 |
administrator |
Status |
needs work => active |
2009-09-23 12:47 |
alex |
Time Estimate Added |
1 |
2009-09-23 12:47 |
alex |
Note Added: 0000518 |
|
2009-09-23 12:47 |
alex |
Assigned To |
alex => Dmitry |
2009-09-23 12:47 |
alex |
Status |
needs feedback => needs work |
2009-09-09 15:37 |
Dmitry |
Note Added: 0000418 |
|
2009-09-09 15:37 |
Dmitry |
Assigned To |
=> alex |
2009-09-09 15:37 |
Dmitry |
Status |
active => needs feedback |
2009-09-09 15:37 |
Dmitry |
Target Version |
=> 5.0.2 |
2009-09-09 06:56 |
alex |
New Issue |
|
Notes |
|
(0000418)
|
Dmitry
|
2009-09-09 15:37
|
|
Please provide some samples of how this will be working. |
|
|
(0000518)
|
alex
|
2009-09-23 12:47
|
|
Problem only happens when, you try to load category item using this code:
$load_keys = Array ('l1_Name' => 'test', 'Status' => STATUS_ACTIVE);
$object->Load($load_keys);
This means, that when load keys are given in array form, that such array is ignored in kCatDBItem::GetKeyClause method.
For case, when one field is used, like
$object->Load(122, 'ResourceId');
all works fine. |
|
|
(0000822)
|
Dmitry
|
2009-10-06 01:02
|
|
I suppose it's a simple fix. Let's move forward with it. |
|
|
(0000903)
|
Dmitry
|
2009-10-17 02:03
|
|
|
|
(0000934)
|
alex
|
2009-10-20 09:03
|
|
Fix committed to 5.0.x branch. Commit Message:
Fixes 0000278: Inability to load category items by non-id fields |
|
|
(0001370)
|
Dmitry
|
2010-01-11 22:05
|
|
|