Anonymous | Login | Signup for a new account | 2022-05-19 22:34 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 | ||
0000642 | [In-Portal CMS] Data Management | bug report | always | 2010-03-26 03:00 | 2010-06-10 13:44 | ||
Reporter | alex | View Status | public | Project Name | In-Commerce | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.0.4-B1 | ||
Status | closed | Product Version | 4.3.9 | Target Version | 5.0.4 | ||
Time Estimate | No estimate | ||||||
Summary | 0000642: Notice about undefined field "File5" on product update | ||||||
Description |
When I update product by hand using this code: $product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); $products = $application->Conn->Query($product->GetSelectSQL(), $product->IDField); foreach ($products as $product_id => $product_data) { $product->LoadFromHash($product_data); $product->Update(); } then I always get notice about undefined field "File5". This happens because there is same method for creating file and image fields for category item, but different for saving them. Field "PrimaryFile" is created instead if "File5" at the end. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a85bd8d46c49764d | ||||||
Change Log Message | |||||||
Estimate Points | 0 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
|||||||
|
![]() |
|
![]() Dmitry (manager) 2010-04-04 18:24 |
Patch tested okay. |
![]() alex (manager) 2010-05-11 04:39 |
Fix committed to 5.0.x branch. Commit Message: Fixes 0000642: Notice about undefined field "File5" on product update |
![]() alex (manager) 2010-06-10 13:44 |
Closing since version 5.0.4 is released. |
![]() |
|||
In-Portal CMS: 5.0.x r13541 Timestamp: 2010-05-11 04:39:10 Author: alex [ Details ] [ Diff ] |
Fixes 0000642: Notice about undefined field "File5" on product update | ||
mod - /in-portal/branches/5.0.x/core/units/helpers/file_helper.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-10 13:44 | alex | Note Added: 0002421 | |
2010-06-10 13:44 | alex | Status | resolved => closed |
2010-05-11 04:39 | alex | Note Added: 0002192 | |
2010-05-11 04:39 | alex | Status | reviewed and tested => resolved |
2010-05-11 04:39 | alex | Fixed in Version | => 5.0.4-B1 |
2010-05-11 04:39 | alex | Resolution | open => fixed |
2010-05-11 04:39 | alex | Changeset attached | 5.0.x r13541 |
2010-05-11 04:38 | alex | Summary | [In-Commerce] Notice about undefined field "File5" on product update => Notice about undefined field "File5" on product update |
2010-04-04 18:24 | Dmitry | Note Added: 0001780 | |
2010-04-04 18:24 | Dmitry | Assigned To | Dmitry => alex |
2010-04-04 18:24 | Dmitry | Status | needs testing => reviewed and tested |
2010-03-26 03:02 | alex | Relationship added | related to 0000614 |
2010-03-26 03:01 | alex | Assigned To | => Dmitry |
2010-03-26 03:01 | alex | Developer | => alex |
2010-03-26 03:01 | alex | Status | active => needs testing |
2010-03-26 03:01 | alex | Reference | => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a85bd8d46c49764d |
2010-03-26 03:00 | alex | New Issue | |
2010-03-26 03:00 | alex | File Added: file5_update_problem.patch |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |