[ 
https://jira.duraspace.org/browse/DS-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20005#action_20005
 ] 

Hardy Pottinger commented on DS-841:
------------------------------------

Since there's now talk of a version 1.7.2 in the developers meeting, I'd just 
like to pipe up for this 'patch' or something better, to make it in for 1.7.2 
(if that's kosher, forgive me if I'm stepping out of bounds here). We don't 
have the option to use any other database than Oracle (if we want institutional 
support, that is), and we've made a commitment to using the XMLUI for our 
repository as a public and admin interface. This patch allows us to continue 
forward using the latest version of DSpace in our environment.

> 'IllegalArgumentException: No such column rnum' error in DSpace 1.7.x XMLUI 
> admin eperson (with Oracle backend)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DS-841
>                 URL: https://jira.duraspace.org/browse/DS-841
>             Project: DSpace
>          Issue Type: Bug
>    Affects Versions: 1.7.0, 1.7.1
>         Environment: RHEL5, with Oracle on the back end
>            Reporter: Hardy Pottinger
>         Attachments: DS-841-fix-Oracle-compatibility-for-ePerson.patch
>
>
> In using the 1.7.x branch for testing with Oracle. Everything installed fine, 
> and I've got a bare-bones repository up and running. However, in the XMLUI, 
> when I click on the admin ePeople link, I get the following error:
>   java.lang.IllegalArgumentException: No such column rnum
> Here are the first few lines of the stack trace:
> java.lang.IllegalArgumentException: No such column rnum
>         at 
> org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581)
>         at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:433)
>         at 
> org.dspace.storage.rdbms.DatabaseManager.process(DatabaseManager.java:1111)
>         at 
> org.dspace.storage.rdbms.TableRowIterator.next(TableRowIterator.java:151)
>         at 
> org.dspace.storage.rdbms.TableRowIterator.toList(TableRowIterator.java:204)
>         at org.dspace.eperson.EPerson.search(EPerson.java:358)
>         at 
> org.dspace.app.xmlui.aspect.administrative.eperson.ManageEPeopleMain.addBody(ManageEPeopleMain.java:121)
>         at 
> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
>         at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
>         at $Proxy66.startElement(Unknown Source)
>         at 
> org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
>         at 
> org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
>         at 
> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
>         at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
>         at $Proxy49.startElement(Unknown Source)
> No such error is thrown when using the JSPUI. 
> > org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581
> Looking more closely at the stack trace, the problem appears to be that the 
> canonicalizeAndCheck method in TableRow is failing when it attempts to verify 
> the rnum column, which is created back in org.dspace.eperson.EPerson.search.

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

        

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to