You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by "Shanti Subramanyam (JIRA)" <ji...@apache.org> on 2009/01/26 20:15:59 UTC

[jira] Created: (OLIO-41) Application not returning error when file doesn't exist

Application not returning error when file doesn't exist
-------------------------------------------------------

                 Key: OLIO-41
                 URL: https://issues.apache.org/jira/browse/OLIO-41
             Project: Olio
          Issue Type: Bug
          Components: php-app
            Reporter: Shanti Subramanyam
            Assignee: Shanti Subramanyam
            Priority: Minor


The application reads a number of files via fileService.php. The code in this file doesn't check whether the file exists nor does it check the return code when calling 'readfile' for errors. Consequently, if the file doesn't exist for some reason, the app continues merrily and a user running load may think his runs are all successful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OLIO-41) Application not returning error when file doesn't exist

Posted by "Shanti Subramanyam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OLIO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shanti Subramanyam closed OLIO-41.
----------------------------------


> Application not returning error when file doesn't exist
> -------------------------------------------------------
>
>                 Key: OLIO-41
>                 URL: https://issues.apache.org/jira/browse/OLIO-41
>             Project: Olio
>          Issue Type: Bug
>          Components: php-driver
>            Reporter: Shanti Subramanyam
>            Assignee: Akara Sucharitakul
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The application reads a number of files via fileService.php. The code in this file doesn't check whether the file exists nor does it check the return code when calling 'readfile' for errors. Consequently, if the file doesn't exist for some reason, the app continues merrily and a user running load may think his runs are all successful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OLIO-41) Application not returning error when file doesn't exist

Posted by "Akara Sucharitakul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OLIO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akara Sucharitakul updated OLIO-41:
-----------------------------------

           Component/s:     (was: php-app)
                        php-driver
              Assignee: Akara Sucharitakul  (was: Shanti Subramanyam)
    Remaining Estimate: 2h
     Original Estimate: 2h

This is really a driver issue. The driver should detect the nonexistence of the image if the read turns out too few bytes. The application should not fix this issue. If an image does not exist, alternate/default images may be shown. The user should never see that as an error.

> Application not returning error when file doesn't exist
> -------------------------------------------------------
>
>                 Key: OLIO-41
>                 URL: https://issues.apache.org/jira/browse/OLIO-41
>             Project: Olio
>          Issue Type: Bug
>          Components: php-driver
>            Reporter: Shanti Subramanyam
>            Assignee: Akara Sucharitakul
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The application reads a number of files via fileService.php. The code in this file doesn't check whether the file exists nor does it check the return code when calling 'readfile' for errors. Consequently, if the file doesn't exist for some reason, the app continues merrily and a user running load may think his runs are all successful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OLIO-41) Application not returning error when file doesn't exist

Posted by "Akara Sucharitakul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OLIO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akara Sucharitakul resolved OLIO-41.
------------------------------------

    Resolution: Fixed

> Application not returning error when file doesn't exist
> -------------------------------------------------------
>
>                 Key: OLIO-41
>                 URL: https://issues.apache.org/jira/browse/OLIO-41
>             Project: Olio
>          Issue Type: Bug
>          Components: php-driver
>            Reporter: Shanti Subramanyam
>            Assignee: Akara Sucharitakul
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The application reads a number of files via fileService.php. The code in this file doesn't check whether the file exists nor does it check the return code when calling 'readfile' for errors. Consequently, if the file doesn't exist for some reason, the app continues merrily and a user running load may think his runs are all successful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.