Giter Club home page Giter Club logo

Comments (7)

hansemannn avatar hansemannn commented on August 15, 2024 1

Hey guys, please try this patch for your 6.0.0.GA SDK. It will likely be included in 6.0.1 next week as well, thx for reporting!

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024

Alloy version?

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024

Confirmed in SDK 6 with Android only on production, i think related to NodeJS require [TIMOB-16078]

debugging now

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024
[DEBUG] Adding footerView from xml to this form
[ERROR] TiExceptionHandler: (main) [244,26067] ----- Titanium Javascript Runtime Error -----
[ERROR] TiExceptionHandler: (main) [0,26067] - In ti:/module.js:303,2
[ERROR] TiExceptionHandler: (main) [0,26067] - Message: Uncaught Error: Requested module not found: alloy/controllers/../widgets/nl.fokkezb.form/controllers/field
[ERROR] TiExceptionHandler: (main) [0,26067] - Source: 	throw new Error("Requested module not found: " + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?
[ERROR] V8Exception: Exception occurred at ti:/module.js:303: Uncaught Error: Requested module not found: alloy/controllers/../widgets/nl.fokkezb.form/controllers/field

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024

So it happens in production and development also, just disable liveview and error appears

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024

So workaround for now move field to your controller directory, till someone refactor the base controller code in this widget or Appc fix require.

Steps:

  1. Copy field controller files to yout app
    cp app/widgets/nl.fokkezb.form/controllers/field.js app/controllers
    cp app/widgets/nl.fokkezb.form/views/field.xml app/views
    cp app/widgets/nl.fokkezb.form/styles/field.tss app/styles
    cp app/widgets/nl.fokkezb.form/lib/util.js app/lib/

  2. Replace path in the widget or any custom field you have
    old exports.baseController = '../widgets/nl.fokkezb.form/controllers/field';
    new exports.baseController = 'field';

from nl.fokkezb.form.

HazemKhaled avatar HazemKhaled commented on August 15, 2024

JIRA ticket created
https://jira.appcelerator.org/browse/AC-4661

from nl.fokkezb.form.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.