You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Loic Dachary (JIRA)" <ji...@apache.org> on 2009/07/05 15:20:15 UTC
[jira] Created: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
-----------------------------------------------------------------------------------------------------
Key: SHINDIG-1105
URL: https://issues.apache.org/jira/browse/SHINDIG-1105
Project: Shindig
Issue Type: Bug
Components: PHP
Affects Versions: 1.0
Reporter: Loic Dachary
Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Loic Dachary (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727521#action_12727521 ]
Loic Dachary commented on SHINDIG-1105:
---------------------------------------
Sorry about that. The error description is that file_get_content($OAUTH_CONFIG) fails with file not found. If this is still too obscure I can try to reproduce and get the exact stack trace. I've fixed it by changing the (wrong) relative path with an absolute path.
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner updated SHINDIG-1105:
----------------------------------
Fix Version/s: (was: trunk)
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
> Assignee: Chris Chabot
> Fix For: trunk
>
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727509#action_12727509 ]
Chris Chabot commented on SHINDIG-1105:
---------------------------------------
Hey Loic,
Thanks for the diagnostic, but you seem to have forgotten to include the error description? :)
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner updated SHINDIG-1105:
----------------------------------
Fix Version/s: (was: 1.0.x-incubating)
trunk
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
> Assignee: Chris Chabot
> Fix For: trunk
>
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Loic Dachary (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727330#action_12727330 ]
Loic Dachary commented on SHINDIG-1105:
---------------------------------------
Not exactly on this line but as a side effect of asking for AUTHORIZATION of type OAUTH
params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.OAUTH;
from an application
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-1105)
src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG
= "../config/oauth.json";
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Chabot resolved SHINDIG-1105.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.x-incubating
trunk
Assignee: Chris Chabot
I've changed the code to use the Config::get('container_path') location for the oauth.json file, this way it'll work well both in a svn checkout and in release form (the location changes in the release packaging, hence this issue to start out with) in both the 1.0.x branch and trunk.
> src/gadgets/oauth/BasicGadgetOAuthTokenStore.php:24: private $OAUTH_CONFIG = "../config/oauth.json";
> -----------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1105
> URL: https://issues.apache.org/jira/browse/SHINDIG-1105
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Reporter: Loic Dachary
> Assignee: Chris Chabot
> Fix For: trunk, 1.0.x-incubating
>
>
> Fails with file not found
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.