abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Empty workspaces
Date Mon, 26 Mar 2012 15:51:47 GMT
This would definitely be a bug. I'll double check to make sure it's
fixed in the Abdera2-server code. If someone wants to submit a patch
for it against 1.2 I can check that in to the trunk as well.

- James

On Mon, Mar 26, 2012 at 8:37 AM, David Ventimiglia <dventimi@gmail.com> wrote:
> But according to the Atom Pub spec a workspace may contain zero or more
> collections.  How can an Abdera workspace contain zero collections if it
> throws a NullPointerException?
> On Mar 26, 2012 8:31 AM, "Christophe Dupriez" <dupriez@squadratic.com>
> wrote:
>
>> I have a single Workspace so it is not empty!
>> I prefer to have multiple Abdera services for different information types,
>> one workspace for services and many collections per workspace.
>> I follow (roughly) the OData convention + OpenSearch:
>> http://host/application/**service.svc/collection(record-**id)?opensearch<http://host/application/service.svc/collection(record-id)?opensearch>parameters
>>
>> Most of the job is to have a correct Provider and to implement the
>> CollectionAdapter.
>>
>> Have a nice evening,
>>
>> Christophe
>>
>> Le 26/03/2012 17:15, David Ventimiglia a écrit :
>>
>>> Hi,
>>>
>>> If I create a DefaultProvider and add a SimpleWorkspaceInfo to it, but
>>> don't add a CollectionAdapter to that, I get a NullPointerException.  How
>>> is an empty workspace, with no collections, to be represented?
>>>
>>> Thanks, David.
>>>
>>>
>>

Mime
View raw message