Anonymous | Login | Signup for a new account | 2023-09-26 09:46 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Advanced Details [ Jump to Notes ] [ Wiki ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001392 | [In-Portal CMS] Front End | bug report | always | 2012-09-13 06:00 | 2012-09-13 06:03 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Platform | |||
Status | resolved | OS | |||||
OS Version | |||||||
ETA | none | Fixed in Version | 5.2.1-B1 | Product Version | 5.0.0 | ||
Target Version | 5.2.1 | Product Build | |||||
Time Estimate | No estimate | ||||||
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 | |||||||
Tags | No tags attached. | ||||||
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 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() alex (manager) 2012-09-13 06:03 |
Will test all together later. |
![]() alex (manager) 2012-09-13 06:03 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001392: Resizing non-uploaded image caused fatal error |
![]() |
|||
In-Portal CMS: 5.2.x r15534 Timestamp: 2012-09-13 06:03:35 Author: alex [ Details ] [ Diff ] |
Fixes 0001392: Resizing non-uploaded image caused fatal error | ||
mod - /in-portal/branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php | [ Diff ] [ File ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |