Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13577] Code Processor: Error message for missing JSCA file gets the plugin name wrong

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-04-24T22:49:12.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 09 JS, 2013 Sprint 09, Release 3.1.1, Release 3.2.0
ComponentsCode Processor
Labelsn/a
ReporterBryan Hughes
AssigneeBryan Hughes
Created2013-04-15T23:01:36.000+0000
Updated2013-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.

Comments

  1. Bryan Hughes 2013-04-24

    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
  2. Shyam Bhadauria 2013-05-07

    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

JSON Source