Book a Demo

Author Topic: detecting errors in ImportPackageXMI  (Read 4039 times)

Pawel Jasinski

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
detecting errors in ImportPackageXMI
« on: May 05, 2014, 11:13:49 pm »
I have a xmi file which during an interactive import creates dialog box with error message.

Quote
ORA-12899: value too large for column "EAREP.T_OBJECT"."NAME" (actual: 261 minimum: 255)

If I import the same xmi using API, there is no exception and the ImportPackageXMI returns the same value as in case of success.

Is there a way detect error when ImportPackageXMI is used?

--pawel

« Last Edit: May 05, 2014, 11:14:21 pm by pawel.jasinski »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: detecting errors in ImportPackageXMI
« Reply #1 on: May 06, 2014, 03:16:08 am »
I guess not. You might file this as bug since from my perspective the API should return error messages in a meaningful way. (Maybe I simply missed the way retrieve it.)

q.

Pawel Jasinski

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: detecting errors in ImportPackageXMI
« Reply #2 on: May 06, 2014, 04:02:29 am »
I enabled log in hope for some hint of error. There is no difference between log with error and log without error.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: detecting errors in ImportPackageXMI
« Reply #3 on: May 06, 2014, 04:23:45 am »
Just file a bug report (link bottom right of this page). Likely you will not see a useable solution in the near future, but at least it should be brought to Sparx' attention.

q.