History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15559
Type: Bug Bug
Status: Internal Review Internal Review
Priority: None None
Assignee: Kristen Sindac
Reporter: nicholas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Flex SDK

compiler not generating any message when mxml object id conflicts with container member

Created: 04/15/08 04:09 PM   Updated: 06/25/08 07:52 PM
Component/s: Compiler API
Security Level: Public (All JIRA Users )

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Low
Found in Version: RC6 - 194161
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. Run this app.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#ff0000">
     <mx:HBox id="controlBar" height="100" width="100%" backgroundColor="#ffff00" horizontalAlign="center">
      <mx:Button label="Button"/>
     </mx:HBox>
</mx:Application>
 
 Actual Results:
 You end up with a red bar equal to the height of the HBox. I found out this is because controlBar is a member of mx:Application.
 
 Expected Results:
   I would expect some kind of warning or error on this.
 
 Workaround (if any):

 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Kristen Sindac
Participants: Gong, Kristen Sindac and nicholas


 All   Comments      Sort Order:
Gong - [04/25/08 02:15 PM ]
Reproduced on FB4 on XP sa and OSX plugin - sending to IRB

Kristen Sindac - [05/26/08 03:58 PM ]
reproduced in Flex2.0.1, Flex 3 released, and latest trunk build