You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2011/02/25 10:19:38 UTC

[jira] Created: (JCR-2903) Session.importXml should close the inpust stream (as to JSR 283/JCR 2.0)

Session.importXml should close the inpust stream (as to JSR 283/JCR 2.0)
------------------------------------------------------------------------

                 Key: JCR-2903
                 URL: https://issues.apache.org/jira/browse/JCR-2903
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr2spi
            Reporter: Alex Parvulescu


http://markmail.org/thread/crwx27dkt2cnjjy7

This is available for all that follow:
  Node.setProperty(String, InputStream)
  Property.setValue(InputStream)
  ValueFactory.createValue(InputStream)
  ValueFactory.createBinary(InputStream)
  Session.importXML(String, InputStream, int)
  Workspace.importXML(String, InputStream, int)


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

Posted by "Jukka Zitting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2903:
-------------------------------

    Fix Version/s: 2.2.10

Merged to the 2.2 branch in revision 1202764.
                
> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr-tests, jackrabbit-jcr2spi, JCR 2.0
>    Affects Versions: 2.0, 2.0.3, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.2, 2.2.1, 2.2.2, 2.2.4
>            Reporter: Alex Parvulescu
>            Assignee: Stefan Guggisberg
>             Fix For: 2.2.10, 2.3
>
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg updated JCR-2903:
-----------------------------------

    Component/s: jackrabbit-core
        Summary: Session.importXml should close the input stream (as to JSR 283/JCR 2.0)  (was: Session.importXml should close the inpust stream (as to JSR 283/JCR 2.0))

> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr2spi
>            Reporter: Alex Parvulescu
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg reassigned JCR-2903:
--------------------------------------

    Assignee: Stefan Guggisberg

> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr2spi
>    Affects Versions: 2.0.0, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.4
>            Reporter: Alex Parvulescu
>            Assignee: Stefan Guggisberg
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg updated JCR-2903:
-----------------------------------

    Component/s: jackrabbit-jcr-rmi

the following methods do close the passed stream if the content size exceeds 
a certain limit (e.g. 1k); this is caused by the conditional use of 
java.io.SequenceInputStream.  

  Node.setProperty(String, InputStream)
  Property.setValue(InputStream)
  ValueFactory.createValue(InputStream)
  ValueFactory.createBinary(InputStream)


> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr2spi
>            Reporter: Alex Parvulescu
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg resolved JCR-2903.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

fixed in svn r1077927

> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr-tests, jackrabbit-jcr2spi, JCR 2.0
>    Affects Versions: 2.0.0, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.4
>            Reporter: Alex Parvulescu
>            Assignee: Stefan Guggisberg
>             Fix For: 2.3.0
>
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg updated JCR-2903:
-----------------------------------

    Affects Version/s: 2.0.0
                       2.0.3
                       2.1.0
                       2.1.1
                       2.1.2
                       2.1.3
                       2.2.0
                       2.2.1
                       2.2.2
                       2.2.4

> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr2spi
>    Affects Versions: 2.0.0, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.4
>            Reporter: Alex Parvulescu
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-2903) Session.importXml should close the input stream (as to JSR 283/JCR 2.0)

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

Stefan Guggisberg updated JCR-2903:
-----------------------------------

    Component/s: JCR 2.0
                 jackrabbit-jcr-tests

> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
>                 Key: JCR-2903
>                 URL: https://issues.apache.org/jira/browse/JCR-2903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr-tests, jackrabbit-jcr2spi, JCR 2.0
>    Affects Versions: 2.0.0, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.4
>            Reporter: Alex Parvulescu
>            Assignee: Stefan Guggisberg
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
>   Node.setProperty(String, InputStream)
>   Property.setValue(InputStream)
>   ValueFactory.createValue(InputStream)
>   ValueFactory.createBinary(InputStream)
>   Session.importXML(String, InputStream, int)
>   Workspace.importXML(String, InputStream, int)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira