Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2492] Android: Custom JS Activities don't correctly pre-parse the URL attribute

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:15.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M05
ComponentsAndroid
Labelsactivity, android, defect
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:21:10.000+0000
Updated2011-04-17T01:59:15.000+0000

Description

We need to factor out the URL normalizing code of TiUIWindow into a new utility method that TiJSActivity can use

Comments

  1. Marshall Culpepper 2011-04-15

    (from [8db06f035b6a2b9571e946a4a6cea7f44351d14a]) a new TiUrl class that centralizes the window normalizing and context / baseUrl resolving methods that are used in TiContext and TiUIWindow.
    TiJSActivity and TiUIWindow now both use TiUrl for normalizing urls
    passed in by users. added more constants to TiC for Button and Label,
    some formatting fixes [#2492 state:fixed-in-qa]
    https://github.com/appcelerator/titanium_mobile/commit/8db06f035b6a2b9571e946a4a6cea7f44351d14a"> https://github.com/appcelerator/titanium_mobile/commit/8db06f035b6a...

  2. Ralf Pfeiffer 2011-04-15

    Marshall, please have someone validate this and place in resolved state.

  3. Marshall Culpepper 2011-04-15

    (from [8378aae473445cec3ec7a5bf3fbd10192bad8953]) added a drillbit test to verify the jsActivity url bug [#2492 state:resolved] https://github.com/appcelerator/titanium_mobile/commit/8378aae473445cec3ec7a5bf3fbd10192bad8953"> https://github.com/appcelerator/titanium_mobile/commit/8378aae47344...

JSON Source