Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1374

There is no warn/error if there is two schema with same defined

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Documents
    • Environment:
      Nuxeo VM (debian/PostgreSQL)

      Description

      • I create a schema named Book/bk
      • I create a type Book

      The schema defined is book/book

      • During the hot deploy there is no problem

      Problem:

      • I can't connect to my nuxeo, there is too many redirection and logs show something like:
      Caused by: java.lang.IllegalArgumentException: Duplicate table name: book
              at org.nuxeo.ecm.core.storage.sql.jdbc.db.Database.addTable(Database.java:49)
              at org.nuxeo.ecm.core.storage.sql.jdbc.SQLInfo$TableMaker.<init>(SQLInfo.java:674)
              at org.nuxeo.ecm.core.storage.sql.jdbc.SQLInfo.initFragmentSQL(SQLInfo.java:638)
      

      and

      2012-12-18 07:59:16,239 ERROR [org.nuxeo.ecm.webapp.helpers.StartupHelper] error while initializing the Seam context with a CoreSession instance: Error opening session for repository default
      org.nuxeo.ecm.core.api.ClientException: Error opening session for repository default
              at org.nuxeo.ecm.webapp.delegate.DocumentManagerBusinessDelegate.getDocumentManager(DocumentManagerBusinessDelegate.java:116)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: