This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 131712 - [saas][amazon] incorrect auth type for AmazonAssociatesService
Summary: [saas][amazon] incorrect auth type for AmazonAssociatesService
Status: CLOSED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 12:53 UTC by Lukas Jungmann
Modified: 2008-04-07 14:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-04-01 12:53:52 UTC
-d'n'd services tab -> web services -> Amazon -> AssociatesService -> ... -> itemSearch into a java class
-fill in required properties in amazonassociatesserviceauthenticator.properties
-run the project

=>
run:
java.io.IOException: Please specify your api key in the amazonassociatesserviceauthenticator.properties file.
        at
org.netbeans.saas.amazon.AmazonAssociatesServiceAuthenticator.getApiKey(AmazonAssociatesServiceAuthenticator.java:39)
...

Problem is that there's no "api_key" property in amazonassociatesserviceauthenticator.properties file, there are only
"access_key" and "secret" properties. I tested that api_key.equals(access_key) == true
Comment 1 Ayub Khan 2008-04-02 01:50:12 UTC
Important to fix for 6.1, so raising priority
Comment 2 Ayub Khan 2008-04-02 02:30:30 UTC
Fixed for 6.1 (in trunk), will merge to release61 after review

http://hg.netbeans.org/main/rev/cce3b436d1f1
Comment 3 Lukas Jungmann 2008-04-02 10:39:20 UTC
v. in trunk. Feel free to integrate it into release61, please.
Thanks.
Comment 4 Lukas Jungmann 2008-04-03 15:10:47 UTC
f. in release61: http://hg.netbeans.org/release61/rev/af9a42488793

v.