You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Jakub Vrána (JIRA)" <ji...@apache.org> on 2009/02/19 17:22:01 UTC

[jira] Updated: (SHINDIG-930) Unable to autoload exceptions

     [ https://issues.apache.org/jira/browse/SHINDIG-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakub Vrána updated SHINDIG-930:
--------------------------------

    Attachment: shindig-930.diff

This is only partial fix of the problem because not all exceptions are defined in files with "Exception" removed. For example GadgetSpecException is defined in GadgetSpecParser.php.

> Unable to autoload exceptions
> -----------------------------
>
>                 Key: SHINDIG-930
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-930
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Jakub Vrána
>            Priority: Minor
>         Attachments: shindig-930.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> __autoload() function expects that classes are defined in files of the same name. However it is not true for exceptions. The problem is for example with php/src/common/sample/BasicSecurityTokenDecoder.php which throws GadgetException which is not found by __autoload.

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