7.0.7sr1a Broke DataPort Export

A forum where issues related to the DataPort utility can be discussed.
Post Reply
argodev
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Sat Oct 21, 2006 8:38 am

7.0.7sr1a Broke DataPort Export

Post by argodev » Mon Jul 25, 2011 9:21 am

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>

argodev
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Sat Oct 21, 2006 8:38 am

Re: 7.0.7sr1a Broke DataPort Export

Post by argodev » Thu Jul 28, 2011 8:47 pm

This was confirmed as a bug by AC and they are issuing an updated version of the dataport client/libs to deal with it..

FAP
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Mon Sep 20, 2010 12:07 pm

Re: 7.0.7sr1a Broke DataPort Export

Post by FAP » Mon Oct 17, 2011 9:39 am

Same Issue, Is there any idea of a fix release date ?

argodev
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Sat Oct 21, 2006 8:38 am

Re: 7.0.7sr1a Broke DataPort Export

Post by argodev » Thu Oct 20, 2011 7:42 am

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.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: 7.0.7sr1a Broke DataPort Export

Post by Katie » Thu Oct 27, 2011 7:48 am

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
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

jowanna
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Sun Oct 30, 2011 9:35 am

Re: 7.0.7sr1a Broke DataPort Export

Post by jowanna » Sun Oct 30, 2011 9:51 am

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.

Tinyroots
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 02, 2009 5:46 pm

Re: 7.0.7sr1a Broke DataPort Export

Post by Tinyroots » Fri Mar 02, 2012 12:08 pm

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?

Post Reply