[ 
http://jira.codehaus.org/browse/CONTINUUM-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167504#action_167504
 ] 

jan ancajas commented on CONTINUUM-2098:
----------------------------------------

tested with restoring user database.. however  there seems to be a problem with 
the continuum jdo module, encountered this error when i tried to restore the 
db. 

javax.jdo.JDOUserException: Field 
org.apache.maven.continuum.model.project.BuildQueue.name is null, but is 
mandatory as its described in the jdo metadata
        at 
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
        at 
org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
        at 
org.apache.maven.continuum.model.project.BuildQueue.jdoProvideField(BuildQueue.java)
        at 
org.apache.maven.continuum.model.project.BuildQueue.jdoProvideFields(BuildQueue.java)
        at 
org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
        at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:252)
        at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
        at org.jpox.store.StoreManager.insert(StoreManager.java:938)
        at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
        at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
        at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1206)
        at 
org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1259)
        at 
org.jpox.store.rdbms.scostore.ElementContainerStore.validateElementForWriting(ElementContainerStore.java:397)
        at 
org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1154)
        at 
org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:387)
        at 
org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
        at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
        at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)

i'll check on the error.


> Provide a Web UI for database backup and restore
> ------------------------------------------------
>
>                 Key: CONTINUUM-2098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2098
>             Project: Continuum
>          Issue Type: New Feature
>          Components: Data Management, Web - UI
>    Affects Versions: 1.3.1
>            Reporter: Wendy Smoak
>             Fix For: 1.3.x
>
>         Attachments: CONTINUUM-2098.patch
>
>
> On the dev list, Jan Ancajas wrote:
> {quote}
> We would like to donate the Backup & Restore functionality to
> community from Maestro (http://www.exist.com/maestro). If it's ok, in
> the next few days i'll submit the patches for this.
> {quote}
> See:  http://www.nabble.com/Backup-and-restore-db-function-td22113702.html

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

        

Reply via email to