Book a Demo

Author Topic: Connector.ReturnValueAlias  (Read 8148 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Connector.ReturnValueAlias
« on: August 27, 2016, 01:53:39 am »
This one also came with 12.1. The help says
Quote
Shows the 'Return Value Alias' field of the operation.
This enigmatic in several aspects. I have no idea where that Shows the 'Return Value Alias' might be. And what operation is connected with a connector? So: anyone has any clue what that might mean?

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #1 on: August 29, 2016, 10:09:24 am »
If a sequence message has a return value which is a Class element (for example), and that Class element has an alias, it is stored in t_connector.StyleEx as 'rva=Alias;'

You seem to have a lot of these queries. It might be worth putting them all together in a single bug report.
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #2 on: August 29, 2016, 10:16:36 am »
If a sequence message has a return value which is a Class element (for example), and that Class element has an alias, it is stored in t_connector.StyleEx as 'rva=Alias;'

You seem to have a lot of these queries. It might be worth putting them all together in a single bug report.
qwerty is performing two functions here. 
1 reporting the bug - I assume he/has will submit a formal bug report.
2 alerting the rest of us to the issue.

Separate posts helps #2 - and doesn't hurt #1

Paolo
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: Connector.ReturnValueAlias
« Reply #3 on: August 29, 2016, 04:26:19 pm »
and doesn't hurt #1
From a user point of view, I would imagine that submitting a dozen forms is a lot more effort than submitting one. From a support point of view, receiving separate reports is preferable when they are unrelated subject areas because they will probably be allocated to different developers to investigate; that probably isn't the case here, hence the invitation to bundle them all together. In general though, we're happy with whatever is easiest for the customer :)
The Sparx Team
[email protected]

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #4 on: August 29, 2016, 04:49:34 pm »
Yes - note that KP was talking about the bug report, whereas Paolo seems to have assumed he was talking about the forum posts. Paolo's points are good for forum posts, KP's suggestion entirely logical for bug reports.
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #5 on: August 29, 2016, 05:12:34 pm »
Yes - note that KP was talking about the bug report, whereas Paolo seems to have assumed he was talking about the forum posts. Paolo's points are good for forum posts, KP's suggestion entirely logical for bug reports.
I was actually referring to both.  It's not that hard (as you may have noticed) to generate a pile of formal reports quickly and efficiently even using the web forms.

One report one issue.  Make life simpler.

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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #6 on: August 29, 2016, 07:15:04 pm »
Actually I was just not simply going through new functionality introduced since I first wrote my Scripting book, but wanted to test the new functions to see how they work. I was not expecting this flood of (as it looks) bugs so I posted one question for the first observation, then the second and so forth. If I had some bit of clairvoyance I had put it all together in a single post. But who, I ask you, could have expected bugs in dozens?

Thanks KP for the clarification, I'll try that. Maybe this explanation could go to the help as well.

q.

P.S. Ok. So how do I specify a class as return value for a message? The return value field is just plain text.
« Last Edit: August 29, 2016, 07:21:26 pm by qwerty »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #7 on: August 30, 2016, 08:21:38 am »
P.S. Ok. So how do I specify a class as return value for a message? The return value field is just plain text.
You assign an operation to the message, the operation has a return value.
The Sparx Team
[email protected]

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #8 on: August 30, 2016, 02:46:12 pm »
It's not that hard (as you may have noticed) to generate a pile of formal reports quickly and efficiently even using the web forms.

One report one issue.  Make life simpler.

From a user point of view, I would imagine that submitting a dozen forms is a lot more effort than submitting one. From a support point of view, receiving separate reports is preferable when they are unrelated subject areas because they will probably be allocated to different developers to investigate; that probably isn't the case here, hence the invitation to bundle them all together. In general though, we're happy with whatever is easiest for the customer :)
The Sparx Team
[email protected]

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector.ReturnValueAlias
« Reply #9 on: August 30, 2016, 07:38:15 pm »
Hu. Tricked by EA once more. That came right through the back door. Could anyone have guessed that from the pure help?

Honestly, I will not submit a single bug report. I once spent too much time in sending bug reports and saw nothing in return. So you can take my posts here and do whatever you might think is appropriate.

q.