[forge-issues] [JBoss JIRA] (FORGEPLUGINS-120) Invalid AngularJS controllers are generated

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Mon Jul 15 22:05:26 EDT 2013


Vineet Reynolds created FORGEPLUGINS-120:
--------------------------------------------

             Summary: Invalid AngularJS controllers are generated
                 Key: FORGEPLUGINS-120
                 URL: https://issues.jboss.org/browse/FORGEPLUGINS-120
             Project: Forge Plugins
          Issue Type: Bug
          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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list