Anonymous | Login | Signup for a new account | 2023-03-27 14:39 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0000278 | [In-Portal CMS] Data Management | bug report | always | 2009-09-09 06:56 | 2010-01-11 22:05 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.0.2 | ||
Status | closed | Product Version | Target Version | 5.0.2 | |||
Time Estimate | No estimate | ||||||
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. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | |||||||
Change Log Message | |||||||
Estimate Points | 0 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() Dmitry (manager) 2009-09-09 15:37 |
Please provide some samples of how this will be working. |
![]() alex (manager) 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. |
![]() Dmitry (manager) 2009-10-06 01:02 |
I suppose it's a simple fix. Let's move forward with it. |
![]() Dmitry (manager) 2009-10-17 02:03 |
tested ok |
![]() alex (manager) 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 |
![]() Dmitry (manager) 2010-01-11 22:05 |
Closing completed tasks. |
![]() |
|||
In-Portal CMS: 5.0.x r12715 Timestamp: 2009-10-20 09:03:42 Author: alex [ Details ] [ Diff ] |
Fixes 0000278: Inability to load category items by non-id fields | ||
mod - /in-portal/branches/5.0.x/core/kernel/db/cat_dbitem.php | [ Diff ] [ File ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |