You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Vasu Nori (JIRA)" <ji...@apache.org> on 2008/05/21 01:04:55 UTC

[jira] Created: (SHINDIG-288) Restful code - atom:title incorrectly filled in

Restful code - atom:title incorrectly filled in
-----------------------------------------------

                 Key: SHINDIG-288
                 URL: https://issues.apache.org/jira/browse/SHINDIG-288
             Project: Shindig
          Issue Type: Bug
          Components: RESTful API (Java)
            Reporter: Vasu Nori


RestServerCollectionAdapter fills in incorrect atom:title

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-288) Restful code - atom:title incorrectly filled in

Posted by "Vasu Nori (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasu Nori updated SHINDIG-288:
------------------------------

    Attachment: incorrectcode.patch

Note To Committers: Before you apply this patch, one of 2 things should happen
1. The patch attached to https://issues.apache.org/jira/browse/SHINDIG-287 should be checked in.
2. OR, the following line in RestfulAtomPeopleTest.java should be COMMENTED out (#1 reworks this code to make it work after this patch is applied)

       public void testGetIndirectPersonAtom() throws IOException {
         resp = client.get(BASEURL + "/people/john.doe/@all/jane.doe?format=atom");
        checkForGoodAtomResponse(resp);
        Document<Entry> doc = resp.getDocument();
        Entry entry = doc.getRoot();
        prettyPrint(entry);
 
        Person expectedJaneDoe = people.get(0);
        assertEquals(expectedJaneDoe.getName().getUnstructured(), entry.getTitle());   <--------- This line
    }


> Restful code - atom:title incorrectly filled in
> -----------------------------------------------
>
>                 Key: SHINDIG-288
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-288
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Vasu Nori
>         Attachments: incorrectcode.patch
>
>
> RestServerCollectionAdapter fills in incorrect atom:title

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-288) Restful code - atom:title incorrectly filled in

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll resolved SHINDIG-288.
---------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

> Restful code - atom:title incorrectly filled in
> -----------------------------------------------
>
>                 Key: SHINDIG-288
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-288
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Vasu Nori
>            Assignee: Cassie Doll
>         Attachments: incorrectcode.patch
>
>
> RestServerCollectionAdapter fills in incorrect atom:title

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.