[ 
https://jira.nuxeo.org/browse/NXP-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=72207#action_72207
 ] 

Guillaume Cusnieux commented on NXP-4790:
-----------------------------------------

Sometimes when you upload a file, there is this exception that is thrown ...

             
org.nuxeo.ecm.core.storage.sql.Fragment.setPristine(Fragment.java:394)
             at org.nuxeo.ecm.core.storage.sql.Context.save(Context.java:523)
             
org.nuxeo.ecm.core.storage.sql.PersistenceContext.save(PersistenceContext.java:322)
             
org.nuxeo.ecm.core.storage.sql.SessionImpl.flush(SessionImpl.java:223)
             
org.nuxeo.ecm.core.storage.sql.SessionImpl.save(SessionImpl.java:208)
             
org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.save(SQLSession.java:135)
             
org.nuxeo.ecm.core.api.AbstractSession.save(AbstractSession.java:1692)
             
org.nuxeo.ecm.platform.filemanager.service.extension.DefaultFileImporter.create(DefaultFileImporter.java:99)
             
org.nuxeo.ecm.platform.filemanager.service.FileManagerService.createDocumentFromBlob(FileManagerService.java:248)
             
org.nuxeo.ecm.opensocial.mydocs.rest.JSONDocument.doPost(JSONDocument.java:156)

I made a method "fixedSQLExceptionWhenUpload" to correct the problem in the 
gadget pending but it's not very nice

> Gadget MyDocuments
> ------------------
>
>                 Key: NXP-4790
>                 URL: https://jira.nuxeo.org/browse/NXP-4790
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Guillaume Cusnieux
>            Assignee: Guillaume Cusnieux
>
> Correction of pagination.
> Remove the download link.
> Fixed adding and deleting documents.
> Remove the view canvas

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to