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

Key: SDK-14697
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: None None
Assignee: Steven Erat
Reporter: Michael Labriola
Votes: 5
Watchers: 3
Operations

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

Repeater using FormHeading causes RTE

Created: 02/19/08 09:07 PM   Updated: 03/28/09 04:38 PM
Component/s: Repeater
Security Level: Public (All JIRA Users )

File Attachments: 1. File bugTest.mxml (0.8 kb)


Severity: Runtime Error
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Milestone: SDK Community Fix Candidates
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1. Run the code in the attached file
2. Click the button that shows the bug
3. Notice that this is related to issue SDK-14600, which was ruled NAB
 
 Actual Results:
 It crashes with an RTE
 
 Expected Results:
No RTE
 
 Workaround (if any):
Not using FormHeadings

 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Steven Erat
Resolved by: Peter deHaan (Adobe)
Participants: Joan Lafferty, Michael Labriola, Peter deHaan (Adobe) and Steven Erat
Browser: Internet Explorer 7.x


 All   Comments      Sort Order:
Steven Erat - [02/20/08 04:55 PM ]
Not a regression. Reproduced in 2.01 and 3.0.0.477.

Michael, is this a satisfactory workaround? In your example, change clearIt() so that instead of returning an empty array, return an array of empty strings?

protected function clearIt():void {
var blah:Array = new Array();
blah.push ( {title:''} );
blah.push ( {title:''} );
ac = new ArrayCollection(blah);
}

Steven Erat - [02/20/08 05:09 PM ]
Sending to IR. Please evaluate further.

Joan Lafferty - [03/14/08 05:41 PM - edited ]
Internal Review -> Deferred.

Michael confirmed that they decided to use a different control to get around this issue. Other notes from Mike:

The bug is just that FormHeading is missing a null check like FormItem and Label both have.

If you just look at the function set label method differences in each of these classes and how they handle an incoming null value, you will very quickly see that FormHeading passes the data through where FormItem catches and resets the label.

Steven Erat - [03/17/08 10:24 AM ]
Closing as deferred. To be reopened at a later time for further consideration.

Michael Labriola - [03/28/09 12:16 PM ]
Working on this issue

Michael Labriola - [03/28/09 12:38 PM ]
This is related to SDK-14600 and should be closed now. Note on that issues reads "Fixed in 2551 thanks to user-submitted patch"

Peter deHaan (Adobe) - [03/28/09 04:28 PM ]
Resolving as fixed. I'm UTR in latest 3.4 build (3.4.0.5698).