Book a Demo

Author Topic: V12 Editing features in diagram broken  (Read 5460 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
V12 Editing features in diagram broken
« on: September 02, 2015, 09:41:23 am »
Is it just me, but when I try to edit attributes directly in the diagram, the attribute is "trashed".  For example suppose I have:
AttributeName datatype
And I try and change the name to SomeAttribute Datatype,
I end up with Some (and no Datatype).  It's REALLY annoying if I forget to View Properties on the attribute and edit it in the dialog - where things work OK.

Anyone else seeing this or just me?  I'd like confirmation before I report it.

TIA,
Paolo
« Last Edit: September 02, 2015, 09:41:58 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #1 on: September 02, 2015, 09:47:59 am »
Inline editing doesn't work if you have spaces in the attribute name. Is that the problem?
The Sparx Team
[email protected]

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #2 on: September 02, 2015, 03:39:29 pm »
Woaa. I almost never use inline editing. But this got top of EAUI at once.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #3 on: September 02, 2015, 05:35:49 pm »
Quote
Inline editing doesn't work if you have spaces in the attribute name. Is that the problem?
Yes  It is.  I suspected same, but didn't want to bias the responses.

So is it a bug?  I'd say so.  Whether there are spaces in the name or not, the syntax is pretty explicit.

Paolo
« Last Edit: September 02, 2015, 05:43:48 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #4 on: September 02, 2015, 05:38:03 pm »
Quote
Woaa. I almost never use inline editing. But this got top of EAUI at once.

q.
Yes, It's always been a bit "Iffy" so I avoid it, but sometimes, you can't stop yourself...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #5 on: September 03, 2015, 08:55:39 am »
Quote
So is it a bug?  I'd say so.  Whether there are spaces in the name or not, the syntax is pretty explicit.
It's not expected to handle spaces in the name. When we wrote the parser that powers that feature we had to make some restrictions.

However, what may be a bug is that it accepted a partial parse as valid.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #6 on: September 03, 2015, 10:34:15 am »
Quote
Quote
So is it a bug?  I'd say so.  Whether there are spaces in the name or not, the syntax is pretty explicit.
It's not expected to handle spaces in the name. When we wrote the parser that powers that feature we had to make some restrictions.

However, what may be a bug is that it accepted a partial parse as valid.
It's a bug ...

Since (as far as I can tell) ALL the other input/edit mechanisms ALLOW spaces in the attribute name, to have this mechanism NOT handle them is INVALID.

The inconsistent (and therefore wrong) decision was made in design/coding.

Reported,
Paolo
« Last Edit: September 03, 2015, 10:42:00 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #7 on: September 03, 2015, 11:54:49 am »
This method of input is fundamentally different from dialog based input where one entry box represents the exact contents of exactly one field. Extending your argument, I should also be able to define attribute names containing punctuation including colon.
« Last Edit: September 03, 2015, 03:04:51 pm by simonm »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: V12 Editing features in diagram broken
« Reply #8 on: September 03, 2015, 05:59:34 pm »
Quote
This method of input is fundamentally different from dialog based input where one entry box represents the exact contents of exactly one field. Extending your argument, I should also be able to define attribute names containing punctuation including colon.
No, that's not what I'm saying.  It's a consistency thing.

I strongly suspect that if colons were allowed in attribute names, one could come up with an algorithm that would sort it out for you!  I mean Microsoft managed it - allowing embedded periods (full stops) in file names and still using it to separate the file base name from the file extension.

It just takes more "Denkstoff".

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!