Coder Social home page Coder Social logo

cmisspaces's People

Watchers

 avatar

cmisspaces's Issues

Incorrect XML for creation new document

What steps will reproduce the problem?
1. Go to menu File->CreateContent->Plain Text
2. In popup window simply press "Ok"

What version of the product are you using? On what operating system?
With debuger can see 
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
   <atom:title type="text">New Text Doc.txt</atom:title>
   <atom:summary type="text">New Text Doc.txt</atom:summary>
   <atom:content type="text/plain">c2FtcGxlIHRleHQ=</atom:content>
   <cmis:object xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/">
      <cmis:properties>
         <cmis:propertyId cmis:name="ObjectTypeId">
            <cmis:value>document</cmis:value>
         </cmis:propertyId>
      </cmis:properties>
   </cmis:object>
</atom:entry>
But should be
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
   <atom:title type="text">New Text Doc.txt</atom:title>
   <atom:summary type="text">New Text Doc.txt</atom:summary>
   <atom:content type="text/plain">c2FtcGxlIHRleHQ=</atom:content>
   <cmisra:object
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/">
      <cmis:properties>
         <cmis:propertyId propertyDefinitionId="cmis:objectTypeId">
            <cmis:value>cmis:document</cmis:value>
         </cmis:propertyId>
      </cmis:properties>
   </cmisra:object>
</atom:entry>
1. cmis:object is used instead cmisra:object
2. cmis:name="ObjectTypeId" is used instead
propertyDefinitionId="cmis:objectTypeId"
3. object is used as type ID instead cmis:object

That is strange but message for creation folders is correct.


Original issue reported on code.google.com by [email protected] on 16 Dec 2009 at 8:39

Base64 encoding for upload file is incorrect

The usage of mx.util.Base64Encoder in FileUtil.as is incorrect.
(http://cmisspaces.googlecode.com/svn/trunk/CMISSpacesAir/src/org/integratedsema
ntics/cmisspacesair/util/FileUtil.as)

According to Adobe's documentation, Base64Encoder.toString() should only be
called once rather than multiple times. Please see the link below:
http://www.adobe.com/livedocs/flex/3/langref/mx/utils/Base64Encoder.html#encode%
28%29

FileUtil.as will lead to a "trunked" base64 encoding string, and this is
incorrect and it can not be correctly decoded by many base64 decoder such
as the base64 decoder in Apache Commons Codec project.

Original issue reported on code.google.com by [email protected] on 11 Dec 2009 at 8:26

Self link used for get children.

Latest version from svn, the same problem with Bld8.

Please provide any additional information below.
ActionScript TreeDelegate, line 110
if (link.rel == "self")
{
  currentNode.cmisChildren = link.href.toString();
}

IMO "down" must be used instead.

Original issue reported on code.google.com by [email protected] on 12 Sep 2009 at 5:28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.