Skip to main content
Inspiring
September 16, 2009
Question

Need more info about "NestedContainer" violation

  • September 16, 2009
  • 1 reply
  • 1518 views

Hello,

I have a "NestedContainer" violation for a Canvas container in my application. Compared to the application's root container it is located at level 6 i.e. nested in 5 other parent containers. However at the same time I have other containers (again Canvases) which are even deeper nested for example at level 8 compared to the root container.

I need more information when exactly the "NestedContainer" violation is triggered so I fix my code if needed and submit a bug for FlexPMD in case the rule is not implemented as designed.

Thanks!

Smirnoff

This topic has been closed for replies.

1 reply

Adobe Employee
September 16, 2009

Hi

Can you share the file where the violation breaks?

Thanks

Xavier

Inspiring
September 16, 2009

Hi

I would like to share an example but I need to create it since I don't want to post the actual source code.

Simply copying the problem mxml file under another name doesn't work because it is put outside its container and then the violation is not generated.

If I have to create an example it might be too time consuming to achieve these:

- keep the same component hierarchy

- keep the problem present

- keep the example clean from the real source code

That's why I wanted to get more info when this violation is triggered and hopefully create an example faster.

Smirnoff