Book a Demo

Author Topic: Publish profile doesn't check for empties  (Read 3580 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Publish profile doesn't check for empties
« on: August 06, 2020, 06:02:49 pm »
Hey all,


If you create a «profile» package with just a diagram and nothing else in it, then try to publish either the package or the diagram as a profile, EA flashes an error message and does not create the specified file.

Messages from an eapx repository on Windows 10/64 running EA 1512:
  • Package: DAO.Database [3075] Syntax error (missing operator) in query expression 'Start_Object_ID in () or End_Object_ID in ()'.
  • Diagram: DAO.QueryDef [3075] In operator without () in query expression 'Object_ID in'.

Publishing an empty diagram as a pattern doesn't produce this error, and does produce the intended file.


/Uffe
My theories are always correct, just apply them to the right reality.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Publish profile doesn't check for empties
« Reply #1 on: August 06, 2020, 06:06:22 pm »
And reported.
My theories are always correct, just apply them to the right reality.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Publish profile doesn't check for empties
« Reply #2 on: August 06, 2020, 06:18:21 pm »
They don't fail at the same point, either.

The package one gets as far as storing the profile data in t_xref, but the diagram one doesn't. So it's not One Simple Thing, it appears.

Maybe the two functions have completely different underlying implementations? Shock! Horror! Surprise!
My theories are always correct, just apply them to the right reality.