In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
440 | [In-Portal CMS] Admin Interfaces | bug report | always | 2009-12-06 23:04 | 2010-01-11 22:01 |
|
|||||
Reporter: | BaSSiST | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 5.0.1 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.0.2-B1 | ||
Reference: | Google Groups http://groups.google.com/group/in-portal-bugs/browse_thread/thread/e41b5980751c4fe0 | ||||
Change Log Message: | |||||
Estimate Points: | 0 | ||||
|
|||||
Summary: | 0000440: CatEventHandler fatal error when ItemPropertyMappings not defined | ||||
Description: |
OnBeforeItemUpdate event in CatEventHandler class throws fatal error when trying to access undefined variable as object. This happen because $object is defined inside "if" construction, but after that is also used outside. Nobody never tried making custom Category Item without ItemPropertyMappings defined in config (this is "if" condition) until now, so we never have seen this issue. Attached patch fixes the bug. Reported by Sergey G. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
![]() http://tracker.in-portal.org/file_download.php?file_id=155&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-01-11 22:01 | Dmitry | Note Added: 0001314 | |||
2010-01-11 22:01 | Dmitry | Status | resolved => closed | ||
2009-12-20 06:22 | alex | Changeset attached | 5.0.x r12952 | ||
2009-12-20 06:22 | alex | Note Added: 0001181 | |||
2009-12-20 06:22 | alex | Status | reviewed and tested => resolved | ||
2009-12-20 06:22 | alex | Fixed in Version | => 5.0.2-B1 | ||
2009-12-20 06:22 | alex | Resolution | open => fixed | ||
2009-12-20 06:22 | alex | Assigned To | !COMMUNITY => alex | ||
2009-12-20 02:08 | Dmitry | Note Added: 0001179 | |||
2009-12-20 02:08 | Dmitry | Status | needs testing => reviewed and tested | ||
2009-12-11 00:12 | Dmitry | Reporter | Dmitry => BaSSiST | ||
2009-12-06 23:04 | Dmitry | Status | needs work => needs testing | ||
2009-12-06 23:04 | Dmitry | New Issue | |||
2009-12-06 23:04 | Dmitry | Status | active => needs work | ||
2009-12-06 23:04 | Dmitry | Assigned To | => !COMMUNITY | ||
2009-12-06 23:04 | Dmitry | File Added: fatal_error_if_ItemPropertyMapping_not_set.patch | |||
2009-12-06 23:04 | Dmitry | Reference | => Google Groups http://groups.google.com/group/in-portal-bugs/browse_thread/thread/e41b5980751c4fe0 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|