
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Trying to store a portlet preference with an empty name fails on Oracle as the column is marked not-null since Oracle treats "" as null.
[java] Caused by: java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("UPORTAL25"."UP_PORTLET_PREF"."NAME")
[java] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9119)
[java] at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
[java] ... 87 more
|
|
Description
|
Trying to store a portlet preference with an empty name fails on Oracle as the column is marked not-null since Oracle treats "" as null.
[java] Caused by: java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("UPORTAL25"."UP_PORTLET_PREF"."NAME")
[java] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9119)
[java] at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
[java] ... 87 more |
Show » |
|
NOTE. Developers working with uPortal 3.0 to this point will need to export their data before doing this update and then import it after doing the update or all portlet preference retrieval operations will fail.