[TIMOB-13577] Code Processor: Error message for missing JSCA file gets the plugin name wrong
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-04-24T22:49:12.000+0000 |
| Affected Version/s | Release 3.1.0 |
| Fix Version/s | 2013 Sprint 09 JS, 2013 Sprint 09, Release 3.1.1, Release 3.2.0 |
| Components | Code Processor |
| Labels | n/a |
| Reporter | Bryan Hughes |
| Assignee | Bryan Hughes |
| Created | 2013-04-15T23:01:36.000+0000 |
| Updated | 2013-05-29T17:02:34.000+0000 |
Description
If you try and run the code processor against an SDK with a missing api.jsca file, it errors (which it should), but the error message says:
undefined plugin could not find a valid JSCA file at "/Users/bhughes/Work/api.jsca"
Instead, it should say "Require Provider plugin...".
This can be tested by moving /api.jsca to a different location.
PRs: https://github.com/appcelerator/titanium-code-processor/pull/165 https://github.com/appcelerator/titanium-code-processor/pull/166 https://github.com/appcelerator/appcelerator-code-processor-plugins/pull/16 https://github.com/appcelerator/appcelerator-code-processor-plugins/pull/17
It is now giving relevant error message with name of the plugin.Error message is as below- Message header doesn't match expected value of 'REQ'. Output was: The Titanium API Provider plugin could not find a valid JSCA file at "/installed sdk folder/api.jsca" Code-processor version - v1.0.0 SDK - 3.1.1.v20130503173050 Appcelerator studio - 3.1.1.201305031846