In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
1392 | [In-Portal CMS] Front End | bug report | always | 2012-09-13 06:00 | 2012-09-13 06:03 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | resolved | Product Version: | 5.0.0 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.2.1-B1 | ||
Reference: | https://groups.google.com/d/topic/in-portal-bugs/DVhNjWfkTkM/discussion | ||||
Change Log Message: | Fixes fatal error on missing image display attempt | ||||
Estimate Points: | 1 | ||||
|
|||||
Summary: | 0001392: Resizing non-uploaded image caused fatal error | ||||
Description: |
When image upload isn't required then this means that there are no 100% guarantee that image will be there. For such cases in template, where image will be displayed we: * either display default image, e.g. <inp2:unit-prefix_Field name="ImageField" format="resize:100x100;default:img/no_image.gif"/> * or place <inp2:m_if check="unit-prefix_Field" name="ImageField" db="db"> ... </inp2:m_if> around image display code If none of mentioned above happens then horrible fatal error happens, that results in "The connection was reset" message being returned from a web server with no idea about what caused it. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
![]() http://tracker.in-portal.org/file_download.php?file_id=1796&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-09-13 06:03 | alex | Note Added: 0005173 | |||
2012-09-13 06:03 | alex | Status | reviewed and tested => resolved | ||
2012-09-13 06:03 | alex | Fixed in Version | => 5.2.1-B1 | ||
2012-09-13 06:03 | alex | Resolution | open => fixed | ||
2012-09-13 06:03 | alex | Assigned To | !COMMUNITY => alex | ||
2012-09-13 06:03 | alex | Changeset attached | 5.2.x r15534 | ||
2012-09-13 06:03 | alex | Note Added: 0005172 | |||
2012-09-13 06:03 | alex | Status | needs testing => reviewed and tested | ||
2012-09-13 06:02 | alex | Assigned To | => !COMMUNITY | ||
2012-09-13 06:02 | alex | Developer | => alex | ||
2012-09-13 06:02 | alex | Status | active => needs testing | ||
2012-09-13 06:02 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/DVhNjWfkTkM/discussion | ||
2012-09-13 06:00 | alex | New Issue | |||
2012-09-13 06:00 | alex | File Added: missing_image_results_in_fatal_error.patch | |||
2012-09-13 06:00 | alex | Change Log Message | => Fixes fatal error on missing image display attempt | ||
2012-09-13 06:00 | alex | Estimate Points | => 1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|