[Bug] Extended properties on nested sequences are silently discarded [message #542111] |
Wed, 23 June 2010 21:38 |
Eclipse User |
|
|
|
Originally posted by: antonio.garciadominguez.uca.es
Hi all,
I seem to have run into a bug when trying to set extended properties on
sequences that are nested inside other sequences. Basically, the add()
method is called with the unwrapped sequence, so the sequence gets a plain
old List. When it tries to add an extended property, it wraps the object,
adds the property and then - poof - discards the wrapper, so we lose the
property.
I've reported the problem to Bugzilla, since it looks to be a complex issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317753
I've attached a sample EOL script and two different patches with two ways in
which the problem can be solved. I would really appreciate it if someone had
a look at them: I'm not sure which approach would be best.
Cheers,
Antonio
|
|
|
Re: [Bug] Extended properties on nested sequences are silently discarded [message #542265 is a reply to message #542111] |
Thu, 24 June 2010 11:49 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Antonio,
Thanks! I'll have a look at this and add my comments to the bug report.
Cheers,
Dimitris
Antonio García Domínguez wrote:
> Hi all,
>
> I seem to have run into a bug when trying to set extended properties on
> sequences that are nested inside other sequences. Basically, the add()
> method is called with the unwrapped sequence, so the sequence gets a plain
> old List. When it tries to add an extended property, it wraps the object,
> adds the property and then - poof - discards the wrapper, so we lose the
> property.
>
> I've reported the problem to Bugzilla, since it looks to be a complex issue:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=317753
>
> I've attached a sample EOL script and two different patches with two ways in
> which the problem can be solved. I would really appreciate it if someone had
> a look at them: I'm not sure which approach would be best.
>
> Cheers,
> Antonio
|
|
|
Re: [Bug] Extended properties on nested sequences are silently discarded [message #590381 is a reply to message #542111] |
Thu, 24 June 2010 11:49 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Antonio,
Thanks! I'll have a look at this and add my comments to the bug report.
Cheers,
Dimitris
Antonio García Domínguez wrote:
> Hi all,
>
> I seem to have run into a bug when trying to set extended properties on
> sequences that are nested inside other sequences. Basically, the add()
> method is called with the unwrapped sequence, so the sequence gets a plain
> old List. When it tries to add an extended property, it wraps the object,
> adds the property and then - poof - discards the wrapper, so we lose the
> property.
>
> I've reported the problem to Bugzilla, since it looks to be a complex issue:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=317753
>
> I've attached a sample EOL script and two different patches with two ways in
> which the problem can be solved. I would really appreciate it if someone had
> a look at them: I'm not sure which approach would be best.
>
> Cheers,
> Antonio
|
|
|
Powered by
FUDForum. Page generated in 0.02839 seconds