Page 1 of 1

7.0.7sr1a Broke DataPort Export

Posted: Mon Jul 25, 2011 9:21 am
by argodev
We recently upgraded from 7.0.4 to 7.0.7sr1a (incrementally applied each interim update). Now, the dataport tool (using the latest) fails to successfully export the orders via the Custom XML option. We select Custom, orders, set a date range (last day or so) and when we hit the export button we get an error about being unable to convert a boolean to a byte.

I actually tried rolling back to 7.0.7 api/client as well as the 7.0.6 api/client with no success.

Any ideas?

[Edit 20:24 on 7/25/11]
Some further details:

The actual error message:
Exception Message: Object of type 'System.Boolean' cannot be converted to type 'System.Byte'.
at CommerceBuilder.DataClient.Api.ACRequestHandler.ProcessRequest(String requestXml) at
CommerceBuilder.DataClient.Api.AuthenticationHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

The error as it appears in the Admin error log:
7/25/2011 5:52:52 PM Error Object of type 'System.Boolean' cannot be converted to type 'System.Byte'. Object of type 'System.Boolean' cannot be converted to type 'System.Byte'.

I *can* use the custom xml export of everything *but* the orders. Also, I can use the "download store data" function for everything other than the orders object.

I did some debug/tinkering, and the following is the xml blob/request being sent...

<?xml version="1.0" encoding="utf-8"?>
<ACCustomizedOrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RequestId>824f60e8-faca-4d1f-a332-865b4258d4a5</RequestId>
<OrderCriteria>
<OrderDateFilter>
<StartDate>2011-07-25T00:00:00</StartDate>
<EndDate>0001-01-01T00:00:00</EndDate>
</OrderDateFilter>
<OrderStatusFilter>1,2,3,4,5,6</OrderStatusFilter>
</OrderCriteria>
<ChunkSize>50</ChunkSize>
<IsUPSWSRequest>false</IsUPSWSRequest>
<IsCSVRequst>false</IsCSVRequst>
<DownloadCCData>false</DownloadCCData>
</ACCustomizedOrderRequest>

Re: 7.0.7sr1a Broke DataPort Export

Posted: Thu Jul 28, 2011 8:47 pm
by argodev
This was confirmed as a bug by AC and they are issuing an updated version of the dataport client/libs to deal with it..

Re: 7.0.7sr1a Broke DataPort Export

Posted: Mon Oct 17, 2011 9:39 am
by FAP
Same Issue, Is there any idea of a fix release date ?

Re: 7.0.7sr1a Broke DataPort Export

Posted: Thu Oct 20, 2011 7:42 am
by argodev
They fixed it the next day and issued me a drop. If it's not in the current (I'm not able to check the version right now), you should contact support, reference this ticket, and they should be able to get you the updated version.

Re: 7.0.7sr1a Broke DataPort Export

Posted: Thu Oct 27, 2011 7:48 am
by Katie
Sorry about this! We forgot to update the forums after a new Dataport build was uploaded.

Here is the most recent version -

ftp://ftp.ablecommerce.com/dataport/bet ... .7.254.zip (dated 7/28/2011)

Thanks

Re: 7.0.7sr1a Broke DataPort Export

Posted: Sun Oct 30, 2011 9:51 am
by jowanna
Katie wrote:Sorry about this! We forgot to update the forums after a new Dataport build was uploaded.

Here is the most recent version -

ftp://ftp.ablecommerce.com/dataport/bet ... .7.254.zip (dated 7/28/2011)

Thanks
Thanks for that :) There's been a bit of trouble with the older version. Thanks for providng the link to the newer one.

Re: 7.0.7sr1a Broke DataPort Export

Posted: Fri Mar 02, 2012 12:08 pm
by Tinyroots
UPDATE - Re-did the files on the AC7 server, and yes, the beta fix IS working, thank you!!!

________________________________________________________________
ORIGINAL NOTE (RESOLVED)

I have just installed the build from the new link, but for some reason, it still gives an error when I attempt to do a custom order xml export. This is the error.

> Exception Message:Object of type 'System.Boolean'..
> ---------------------------
> Exception Message:Object of type 'System.Boolean' cannot be converted
> to type 'System.Byte'.
> at
> CommerceBuilder.DataClient.Api.ACRequestHandler.ProcessRequest(String
> requestXml)
> at
> CommerceBuilder.DataClient.Api.AuthenticationHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext
> context)

Any help for this?