In-Portal Issue Tracker - In-Commerce
|
|||||||||||
Viewing Issue Advanced Details | |||||||||||
|
|||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | ||||||
642 | [In-Portal CMS] Data Management | bug report | always | 2010-03-26 03:00 | 2010-06-10 13:44 | ||||||
|
|||||||||||
Reporter: | alex | Platform: | |||||||||
Assigned To: | alex | OS: | |||||||||
Priority: | normal | OS Version: | |||||||||
Status: | closed | Product Version: | 4.3.9 | ||||||||
Product Build: | Resolution: | fixed | |||||||||
ETA: | none | Fixed in Version: | 5.0.4-B1 | ||||||||
Reference: | http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a85bd8d46c49764d | ||||||||||
Change Log Message: | |||||||||||
Estimate Points: | 0 | ||||||||||
|
|||||||||||
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. |
||||||||||
Steps To Reproduce: | |||||||||||
Additional Information: | |||||||||||
Relationships |
| ||||||||||
Attached Files: |
file5_update_problem.patch (1,134) 2010-03-26 03:00 http://tracker.in-portal.org/file_download.php?file_id=407&type=bug |
||||||||||
|
|||||||||||
Issue History | |||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|