Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26846] iOS - ListView with commonJS element in template does not work

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0, Release 8.0.2
Fix Version/sn/a
Componentsn/a
LabelsengSchedule
ReporterBrian García
AssigneeAbir Mukherjee
Created2019-02-20T09:46:12.000+0000
Updated2021-02-19T14:07:14.000+0000

Description

on iOS specifying a commonJS module as ns causes the following error:
[ERROR] Failed to load Alloy widget / CommonJS module "XPUI.Label" to be used as template
[ERROR] Error: Invalid item template type provided
[ERROR] File: app.js
[ERROR] Line: 51
[ERROR] SourceId: <null>
[ERROR] Backtrace:
[ERROR]  undefined
while in Android it works as expected. sample project provided

Attachments

FileDateSize
alloy-template-issue-ios.zip2019-02-20T09:45:47.000+0000715627

Comments

  1. Sharif AbuDarda 2019-02-21

    Hello, I was able to reproduce the issue with the sample project provided above. Tested in iOS with SDK 8.0.0.v20190219113758. The issue was in iOS, not in Android. Thanks.
  2. Brian García 2019-07-24

    any update on this?
  3. Brian García 2019-11-05

    Still happening in 8.2.0.GA, any solution?
  4. Brian García 2021-02-19

    And a year later, still here

JSON Source