paulo-graca / epidemic-marketplace

Automatically exported from code.google.com/p/epidemic-marketplace
0 stars 0 forks source link

Problema com acesso a datastreams públicos #396

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Quer pelo acesso à API ou directamente pelo Fedora, usando o user Public
2. 
http://api.epimarketplace.net/rawfetch/pid/empid:1112/datastream/Table_seasonal_
vaccines.xls

What is the expected output? What do you see instead?

O recurso é público, deveria ter os datastreams acessíveis.

<results>
  <result>
    <message>Either the resource doesn't exist or doesn't have the requested datastream</message>
    <status>NOK</status>
    <empid>empid:1112</empid>
    <datastream>Table_seasonal_vaccines.xls</datastream>
  </result>
</results>

Error: [FaultEvent fault=[RPC Fault faultString="HTTP request error" 
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent 
type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. 
URL: 
http://.....25.12:8080/fedora/objects/empid:1112/datastreams/Table_seasonal_vacc
ines.xls?format=xml&flash=true"] 
messageId="ADD17803-AA8C-5141-B900-D222E0464C2C" type="fault" bubbles=false 
cancelable=true eventPhase=2]

Please use labels and text to provide additional information.

Original issue reported on code.google.com by graca.pa...@gmail.com on 23 May 2013 at 4:12

GoogleCodeExporter commented 9 years ago
corrigi o bug no código e criei/executei um script para corrigir as políticas 
defeituosas

Original comment by stinkle....@gmail.com on 27 May 2013 at 12:46