[ https://jira.duraspace.org/browse/DS-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20338#action_20338 ]
Hardy Pottinger commented on DS-841: ------------------------------------ Hi, I wanted to be clear, if this patch is accepted, it may have the affect of turning back on DS-633, as this patch partially reverts code changes that were meant to fix that issue (at the expense of Oracle compatibility). I did point this out when I submitted the patch, but wanted to be sure it wasn't missed. I've been so far unable to find conditions to replicate DS-633, but am willing to test to see if DS-633 shows back up while running this patch, if someone can help me figure that out. > '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 > Fix For: 1.7.2 > > 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 ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel