Comment 2 for bug 1549393

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Here is a confirmation that one blank key entry in the xml request to Content Cafe will kill the whole request. Here is another DVD title with two entries for the unofficial B&T ISBN, and two UPC codes. The two ISBN's are passed as blank strings.

<?xml version="1.0" encoding="utf-8"?>
<ContentCafe xmlns="http://ContentCafe2.btol.com" DateTime="2016-02-25T16:36:09"><RequestItems UserID="XXXXX" Password="WHYWHY"><RequestItem><Key></Key><Content>TocDetail</Content></RequestItem><RequestItem><Key></Key><Content>TocDetail</Content></RequestItem><RequestItem><Key>025192258992</Key><Content>TocDetail</Content></RequestItem><RequestItem><Key>025192258916</Key><Content>TocDetail</Content></RequestItem></RequestItems></ContentCafe>

HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Thu, 25 Feb 2016 16:36:08 GMT
Content-Length: 313

<?xml version="1.0" encoding="utf-8"?>
<ContentCafe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" DateTime="2016-02-25T11:36:08.1468367-05:00" xmlns="http://ContentCafe2.btol.com">
  <Error>Invalid key text element: Invalid length (0)</Error>
</ContentCafe>