[forge-issues] [JBoss JIRA] (FORGEPLUGINS-120) Invalid AngularJS controllers are generated
Vineet Reynolds (JIRA)
issues at jboss.org
Fri Jun 27 07:59:26 EDT 2014
[ https://issues.jboss.org/browse/FORGEPLUGINS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979911#comment-12979911 ]
Vineet Reynolds commented on FORGEPLUGINS-120:
----------------------------------------------
Supporting composite keys in the AngularJS scaffold would require AngularJS to support matrix URIs. Support for this is residing in a [PR #4067|https://github.com/angular/angular.js/pull/4067].
> Invalid AngularJS controllers are generated
> -------------------------------------------
>
> Key: FORGEPLUGINS-120
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-120
> Project: Forge Plugins
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: AngularJS Scaffold
> Environment: AngularJS scaffold plugin v1.0.1.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
>
> The following code is generated in the AngularJS controllers via the Scaffolding plugin:
> {noformat}
> if($scope.actor.filmActors){
> $.each($scope.actor.filmActors, function(idx, element) {
> if(item. == element.) {
> $scope.filmActorsSelection.push(wrappedObject);
> }
> });
> }
> {noformat}
> Note the invalid comparison expression.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list