<select id="selectLoanType" form-field type="string" name="loanType" required ng-change="calculateLoan()"><option value="mortage" checked>Mortage Loan (5%)</option><option value="cashAdvance">Cash Advance (10%)</option></select>
Error: No controller: ngModel
getControllers@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4823
[... lots of stack trace ...]
createHttpBackend/</xhr.onreadystatechange@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10407
<div id="selectLoanType" form-field=""
type="string" name="loanType" required="required"
ng-change="calculateLoan()" ng-class="{ 'input-prepend': typeSwitch
}">I have the same problem with the same error that makes the form not to render and thus the application not to work. I have a fresh installation of Camunda BPM Platform under Glassfish. I'd be glad if you know what's happening. Here you have the long strack trace. Thanks for your time and kind regards.
Error: No controller: ngModel
getControllers@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4823
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4960
compileTemplateUrl/</<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5099
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4953
compileTemplateUrl/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5100
$http/promise.success/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10043
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/ref/<.then/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7582
Scope.prototype.$eval@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8926
Scope.prototype.$digest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8789
Scope.prototype.$apply@http://localhost:8080/camunda/assets/vendor/angular/angular.js:9012
done@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10265
completeRequest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10449
createHttpBackend/</xhr.onreadystatechange@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10407
<div id="selectLoanType" form-field="" type="string" name="loanType" required="required" ng-change="calculateLoan()" ng-class="{ 'input-prepend': typeSwitch }">
angular.js (line 6349)
Error: No controller: ngModel
getControllers@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4823
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4960
compileTemplateUrl/</<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5099
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4953
compileTemplateUrl/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5100
$http/promise.success/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10043
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/ref/<.then/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7582
Scope.prototype.$eval@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8926
Scope.prototype.$digest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8789
Scope.prototype.$apply@http://localhost:8080/camunda/assets/vendor/angular/angular.js:9012
done@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10265
completeRequest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10449
createHttpBackend/</xhr.onreadystatechange@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10407
<div form-field="" required="required" id="inputLoanAmount" name="loanAmount" min="1000" ng-change="calculateLoan()" type="number" ng-class="{ 'input-prepend': typeSwitch }">
angular.js (line 6349)
Error: No controller: ngModel
getControllers@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4823
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4960
compileTemplateUrl/</<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5099
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4953
compileTemplateUrl/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5100
$http/promise.success/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10043
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/ref/<.then/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7582
Scope.prototype.$eval@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8926
Scope.prototype.$digest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8789
Scope.prototype.$apply@http://localhost:8080/camunda/assets/vendor/angular/angular.js:9012
done@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10265
completeRequest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10449
createHttpBackend/</xhr.onreadystatechange@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10407
<div form-field="" required="required" id="inputLoanRuntime" name="loanRuntime" ng-change="calculateLoan()" min="2" max="30" type="number" ng-class="{ 'input-prepend': typeSwitch }">
angular.js (line 6349)
Error: name or type not defined for form field
FormFieldDirective/<.link@http://localhost:8080/camunda/app/tasklist/directives/taskForm.js:85
nodeLinkFn@http://localhost:8080/camunda/assets/vendor/angular/angular.js:4960
compileTemplateUrl/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:5100
$http/promise.success/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10043
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/defer/deferred.promise.then/wrappedCallback@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7509
qFactory/ref/<.then/<@http://localhost:8080/camunda/assets/vendor/angular/angular.js:7582
Scope.prototype.$eval@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8926
Scope.prototype.$digest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:8789
Scope.prototype.$apply@http://localhost:8080/camunda/assets/vendor/angular/angular.js:9012
done@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10265
completeRequest@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10449
createHttpBackend/</xhr.onreadystatechange@http://localhost:8080/camunda/assets/vendor/angular/angular.js:10407
<div form-field="" name="address" rows="4" id="inputAddress" ng-class="{ 'input-prepend': typeSwitch }">
> Communication Error: The application received an unexpected NaN response from the server. Try to refresh the page or login and out of the application.
And in the console log:
> [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "<unknown>"]
> consoleLog/<() angular.js (line 6349)
> null() angular.js (line 5420)
> qFactory/defer/deferred.promise.then/wrappedCallback() angular.js (line 7511)
> qFactory/defer/deferred.promise.then/wrappedCallback() angular.js (line 7509)
> qFactory/ref/<.then/<() angular.js (line 7582)
> Scope.prototype.$eval() angular.js (line 8926)
> Scope.prototype.$digest() angular.js (line 8789)
> Scope.prototype.$apply() angular.js (line 9012)
> done( )angular.js (line 10265)
> completeRequest() angular.js (line 10449)
> createHttpBackend/</xhr.onreadystatechange()
>
> return logFn.apply(console, args);
Any hint about what could make all the forms not to work? I'm using last version of Camunda (7.1.0-alpha1) with pre-built Glassfish BPM package under Kubuntu 13.04.
Thanks again.
> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/camunda/api/admin/auth/user/default
> XMLHttpRequest cannot load app:start-form.html. Cross origin requests are only supported for HTTP.
> XMLHttpRequest cannot load app:task-form.html. Cross origin requests are only supported for HTTP.
So it seems is not loading any form, but they're actually deployed in /src/main/webapp/(start-form.html). According to this post on StackOverflow (http://stackoverflow.com/questions/3828982/xmlhttprequest-cannot-load-an-url-with-jquery) it seems it's not allowed to do a XMLHttpRequest crossdomain. My question then is: so why it's in the examples like this? Did nobody else have these problems?
Cheers.
--To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/f76aaa1c-6814-4d22-8e98-81be3bbab218%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camunda-bpm-users/nj1CCirMbzM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.