Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-243

Orphan form is not deleted without error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.0, 2.0.0
    • None
    • None
    • None

      I have 5 orphan tables. I try to delete some tables:
      1) The deletion has no effect
      2) No error is displayed !
      3) But in logs I have an error

      Caused by: java.sql.SQLException: 'DROP TABLE' cannot be performed on 'FORMS_FORM_09239730433486627' because it does not exist.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
      	... 108 more
      Caused by: ERROR 42Y55: 'DROP TABLE' cannot be performed on 'FORMS_FORM_09239730433486627' because it does not exist.
      	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      	at org.apache.derby.impl.sql.compile.DDLStatementNode.justGetDescriptor(Unknown Source)
      	at org.apache.derby.impl.sql.compile.DDLStatementNode.getTableDescriptor(Unknown Source)
      	at org.apache.derby.impl.sql.compile.DDLStatementNode.getTableDescriptor(Unknown Source)
      	at org.apache.derby.impl.sql.compile.DropTableNode.bindStatement(Unknown Source)
      	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
      	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
      	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
      

      I have a Derby database with the demo data.

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: