[jira] Updated: (CMIS-286) [patch] make sure pick list choices gets set when non existed before

2010-11-26 Thread Florent Guillaume (JIRA)

 [ 
https://issues.apache.org/jira/browse/CMIS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated CMIS-286:
---

Component/s: opencmis-server-inmemory

 [patch] make sure pick list choices gets set when non existed before
 

 Key: CMIS-286
 URL: https://issues.apache.org/jira/browse/CMIS-286
 Project: Chemistry
  Issue Type: Bug
  Components: opencmis-server-inmemory
 Environment: ubuntu 10.10 java1.6.7
Reporter: Dave Brosius
Priority: Minor
 Attachments: setchoices.diff

   Original Estimate: 1h
  Remaining Estimate: 1h

 code attempts to handle case where existing picklist items is null, but 
 doesn't set a newly populated collection on add.
 fixed

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



[jira] Created: (CMIS-287) Allow checkout in AtomPub with an entry containing an atom:content src

2010-11-26 Thread Florent Guillaume (JIRA)
Allow checkout in AtomPub with an entry containing an atom:content src
--

 Key: CMIS-287
 URL: https://issues.apache.org/jira/browse/CMIS-287
 Project: Chemistry
  Issue Type: Bug
  Components: opencmis-server
Affects Versions: 0.1.0-incubating
Reporter: Florent Guillaume
Assignee: Florent Guillaume
Priority: Minor
 Fix For: 0.2.0-incubating


To checkout a doc, some clients do a POST on the checkedout collection with the 
full Atom entry retrieved previously.
This entry contains a atom:content src=... / for the content stream.

This fails in the current code, which forbids any external content when parsing 
an entry.


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



[jira] Resolved: (CMIS-287) Allow checkout in AtomPub with an entry containing an atom:content src

2010-11-26 Thread Florent Guillaume (JIRA)

 [ 
https://issues.apache.org/jira/browse/CMIS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume resolved CMIS-287.


Resolution: Fixed

Fixed by ignoring such external content in the checkout case.

 Allow checkout in AtomPub with an entry containing an atom:content src
 --

 Key: CMIS-287
 URL: https://issues.apache.org/jira/browse/CMIS-287
 Project: Chemistry
  Issue Type: Bug
  Components: opencmis-server
Affects Versions: 0.1.0-incubating
Reporter: Florent Guillaume
Assignee: Florent Guillaume
Priority: Minor
 Fix For: 0.2.0-incubating


 To checkout a doc, some clients do a POST on the checkedout collection with 
 the full Atom entry retrieved previously.
 This entry contains a atom:content src=... / for the content stream.
 This fails in the current code, which forbids any external content when 
 parsing an entry.

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



[jira] Updated: (CMIS-230) createDocument should accept a string instead of a file object. (Or have alternate version)

2010-11-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/CMIS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manuel Jesús Recena Soto updated CMIS-230:
--

Attachment: CMIS-230.patch

Add createDocumentFromString method in Repository Class.

 createDocument should accept a string instead of a file object. (Or have 
 alternate version)
 ---

 Key: CMIS-230
 URL: https://issues.apache.org/jira/browse/CMIS-230
 Project: Chemistry
  Issue Type: Improvement
  Components: python-cmislib
Reporter: Jeff Potts
Assignee: Jeff Potts
Priority: Minor
 Attachments: CMIS-230.patch


 Migrated from GC issue #9, Reported by bdkahn, Mar 17, 2010
 createDocument(name, properties={}, contentFile=None, contentType=None, 
 contentEncoding=None)
 should accept a string for contentFile since the underlying code is simply 
 calling read().encode anyway.
 The python program may have generated the content itself and should be able 
 to upload that file via CMIS rather than needing to save the file and then 
 uploading it.

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