Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4868] iOS: Titanium.XML.Element.removeAttribute still returns the value after the return

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-11-15T14:56:04.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-46, Release 1.8.0.1
ComponentsiOS
Labelsdrillbit, element, removeAttribute, xml
ReporterNatalie Huynh
AssigneeVishal Duggal
Created2011-08-02T14:08:01.000+0000
Updated2011-12-08T14:16:59.000+0000

Description

Steps to Reproduce: 1. Run drillbit Ti.XML test Actual Result: should be: "", was: "icecream" Expected Result: Should pass Note: Passes on Android

Comments

  1. Blain Hamon 2011-08-03

    Given that a node proxy's current implementation of insertBefore, replaceChild, removeChild, and appendChild all are to throw an exception of 'mutation not supported', shouldn't this bug be instead that removeAttribute should throw a similar exception?
  2. Stephen Tramer 2011-11-15

    Resolved as part of pull request #669.
  3. Natalie Huynh 2011-12-08

    version=1.8.0.1 timestamp=12/08/11 13:51 githash=99d7091 on iOS Simulator 5.0 All xml tests are not passing, but the one for this bug is fixed, not returning after being removed

JSON Source