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

Summary: [saas][amazon] incorrect auth type for AmazonAssociatesService
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: ManagerAssignee: Ayub Khan <ayubskhan>
Status: CLOSED FIXED    
Severity: blocker CC: peterliu
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.