Skip Menu |

This queue is for tickets about the WWW-Salesforce CPAN distribution.

Report information
The Basics
Id: 48273
Status: resolved
Priority: 0/
Queue: WWW-Salesforce

People
Owner: cwhitener [...] gmail.com
Requestors: MARKSTOS [...] cpan.org
Cc: cwhitener [...] gmail.com
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.11
Fixed in: (no value)



CC: cwhitener [...] gmail.com
Subject: test failure: Failed test 'query for 'Document' folder id'
When I ran the tests, they failed like this: ### t/WWW-Salesforce....19/29 # Failed test 'query for 'Document' folder id' # in t/WWW-Salesforce.t at line 160. # ##### At least one other person has had the same failure: http://forums.sforce.com/sforce/board/message?board.id=PerlDevelopment&view=by_date_ascending&message.id=2466 #### Based on the response there, it sounds like the code may be working OK, but the tests are expecting my test account to be set up differently. I am adding an explicit CC of your e-mail address, since it appears that past ticket reports may not have been arriving there automatically. Mark
Hi Mark, With the new module in the works, hopefully problems like these will be resolved. Thanks, Chase
Marking this resolved, I was able to fix this with a small namespace change for 0.12. diff --git a/lib/WWW/Salesforce/Constants.pm b/lib/WWW/Salesforce/Constants.pm index 9f940ff..0b02194 100644 --- a/lib/WWW/Salesforce/Constants.pm +++ b/lib/WWW/Salesforce/Constants.pm @@ -124,7 +124,7 @@ BEGIN { 'systemmodstamp' => 'xsd:dateTime', }, 'attachment' => { - 'body' => 'xsd:base64binary', + 'body' => 'xsd:base64Binary',