[JBoss JIRA] (FORGE-1998) Generating AngularJS scaffold fails with NoSuchMethodError in RestGenerationContext.setContentType(Ljava/lang/String; )
by Adam Siemion (JIRA)
[ https://issues.jboss.org/browse/FORGE-1998?page=com.atlassian.jira.plugin... ]
Adam Siemion resolved FORGE-1998.
---------------------------------
Resolution: Cannot Reproduce Bug
> Generating AngularJS scaffold fails with NoSuchMethodError in RestGenerationContext.setContentType(Ljava/lang/String;)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-1998
> URL: https://issues.jboss.org/browse/FORGE-1998
> Project: Forge
> Issue Type: Bug
> Components: Addon Development
> Affects Versions: 2.7.2.Final
> Environment: Eclipse Java EE Luna 4.4.0, MacOS 10.9.4
> Reporter: Adam Siemion
>
> Generating of AngularJS scaffold fails with:
> java.lang.NoSuchMethodError: org.jboss.forge.addon.javaee.rest.generation.RestGenerationContext.setContentType(Ljava/lang/String;)V
> Stacktrace:
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.createContextFor(JSONRestResourceFromEntityCommand.java:197)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.execute(JSONRestResourceFromEntityCommand.java:166)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGEPLUGINS-172) Addon generates textfields, instead of drop-down lists, as search filters for Boolean fields
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-172?page=com.atlassian.jira.... ]
Vineet Reynolds updated FORGEPLUGINS-172:
-----------------------------------------
Description:
>From https://github.com/forge/angularjs-addon/issues/2
For the given Java JPA code:
{noformat}
@Column
private boolean primitive;
@Column
private Boolean wrapper;
{noformat}
the generated `search.html` for the `primitive` field contains a drop-down list with `true` and `false`:
{noformat}
<label for="wrapper" class="col-sm-2 control-label">Wrapper</label>
<div class="col-sm-10">
<select id="wrapper" name="wrapper" class="form-control" ng-model="search.wrapper" ng-options="w as w for w in wrapperList">
<option value="">Choose a Wrapper</option>
</select>
</div>
{noformat}
but for the `wrapper` it contains a textfield:
{noformat}
<label for="primitive" class="col-sm-2 control-label">Primitive</label>
<div class="col-sm-10">
<input id="primitive" name="primitive" class="form-control" type="text" ng-model="search.primitive" placeholder="Enter the User Primitive"></input>
</div>
{noformat}
instead of a drop-down list with `true` and `false`.
was:
For the given Java JPA code:
{noformat}
@Column
private boolean primitive;
@Column
private Boolean wrapper;
{noformat}
the generated `search.html` for the `primitive` field contains a drop-down list with `true` and `false`:
{noformat}
<label for="wrapper" class="col-sm-2 control-label">Wrapper</label>
<div class="col-sm-10">
<select id="wrapper" name="wrapper" class="form-control" ng-model="search.wrapper" ng-options="w as w for w in wrapperList">
<option value="">Choose a Wrapper</option>
</select>
</div>
{noformat}
but for the `wrapper` it contains a textfield:
{noformat}
<label for="primitive" class="col-sm-2 control-label">Primitive</label>
<div class="col-sm-10">
<input id="primitive" name="primitive" class="form-control" type="text" ng-model="search.primitive" placeholder="Enter the User Primitive"></input>
</div>
{noformat}
instead of a drop-down list with `true` and `false`.
> Addon generates textfields, instead of drop-down lists, as search filters for Boolean fields
> --------------------------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-172
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-172
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
>
> From https://github.com/forge/angularjs-addon/issues/2
> For the given Java JPA code:
> {noformat}
> @Column
> private boolean primitive;
> @Column
> private Boolean wrapper;
> {noformat}
> the generated `search.html` for the `primitive` field contains a drop-down list with `true` and `false`:
> {noformat}
> <label for="wrapper" class="col-sm-2 control-label">Wrapper</label>
> <div class="col-sm-10">
> <select id="wrapper" name="wrapper" class="form-control" ng-model="search.wrapper" ng-options="w as w for w in wrapperList">
> <option value="">Choose a Wrapper</option>
> </select>
> </div>
> {noformat}
> but for the `wrapper` it contains a textfield:
> {noformat}
> <label for="primitive" class="col-sm-2 control-label">Primitive</label>
> <div class="col-sm-10">
> <input id="primitive" name="primitive" class="form-control" type="text" ng-model="search.primitive" placeholder="Enter the User Primitive"></input>
> </div>
> {noformat}
> instead of a drop-down list with `true` and `false`.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGEPLUGINS-172) Addon generates textfields, instead of drop-down lists, as search filters for Boolean fields
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGEPLUGINS-172:
--------------------------------------------
Summary: Addon generates textfields, instead of drop-down lists, as search filters for Boolean fields
Key: FORGEPLUGINS-172
URL: https://issues.jboss.org/browse/FORGEPLUGINS-172
Project: Forge Plugins/Addons
Issue Type: Bug
Components: AngularJS Scaffold
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
For the given Java JPA code:
{noformat}
@Column
private boolean primitive;
@Column
private Boolean wrapper;
{noformat}
the generated `search.html` for the `primitive` field contains a drop-down list with `true` and `false`:
{noformat}
<label for="wrapper" class="col-sm-2 control-label">Wrapper</label>
<div class="col-sm-10">
<select id="wrapper" name="wrapper" class="form-control" ng-model="search.wrapper" ng-options="w as w for w in wrapperList">
<option value="">Choose a Wrapper</option>
</select>
</div>
{noformat}
but for the `wrapper` it contains a textfield:
{noformat}
<label for="primitive" class="col-sm-2 control-label">Primitive</label>
<div class="col-sm-10">
<input id="primitive" name="primitive" class="form-control" type="text" ng-model="search.primitive" placeholder="Enter the User Primitive"></input>
</div>
{noformat}
instead of a drop-down list with `true` and `false`.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-1522) View could not be restored in WildFly
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1522?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-1522:
------------------------------------------
Strange, I don't have it and I use WildFly 8.1 on Mac OSX
> View could not be restored in WildFly
> -------------------------------------
>
> Key: FORGE-1522
> URL: https://issues.jboss.org/browse/FORGE-1522
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.0.0.Final, 2.x Future
>
>
> When I scaffold a JSF application, it works fine with GlassFish 4, I can navigate through my pages, view/create/delete data. But when I run it with WildFly 8 CR1, as soon as I navigate to a page, I get the following :
> {code}
> [31m12:36:19,670 ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /module07/faces/author/search.xhtml: javax.servlet.ServletException: viewId:/author/search.xhtml - View /author/search.xhtml could not be restored.
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) [jboss-jsf-api_2.2_spec-2.2.4.jar:2.2.4]
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:70)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:67) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:164) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:654) [undertow-core-1.0.0.Beta30.jar:1.0.0.Beta30]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> Caused by: javax.faces.application.ViewExpiredException: viewId:/author/search.xhtml - View /author/search.xhtml could not be restored.
> at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:210) [jsf-impl-2.2.4-jbossorg-1.jar:]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.4-jbossorg-1.jar:]
> at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121) [jsf-impl-2.2.4-jbossorg-1.jar:]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.4-jbossorg-1.jar:]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) [jboss-jsf-api_2.2_spec-2.2.4.jar:2.2.4]
> ... 24 more
> {code}
> So it makes the application not usable with WildFly 8 CR1
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-2032) org.jboss.forge.addon.maven.plugins.ConfigurationElement should support attributes
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2032?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2032.
----------------------------------
Resolution: Done
> org.jboss.forge.addon.maven.plugins.ConfigurationElement should support attributes
> ----------------------------------------------------------------------------------
>
> Key: FORGE-2032
> URL: https://issues.jboss.org/browse/FORGE-2032
> Project: Forge
> Issue Type: Feature Request
> Components: Build Tools - Maven
> Affects Versions: 2.10.1.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.10.2.Final
>
>
> Some configuration elements allow usage of attributes. This must be supported in the Maven model API:
> Eg:
> {code}
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-enforcer-plugin</artifactId>
> <version>1.3.1</version>
> <dependencies>
> <dependency>
> <groupId>custom-rule</groupId>
> <artifactId>custom-rule-sample</artifactId>
> <version>1.0</version>
> </dependency>
> </dependencies>
> <executions>
> <execution>
> <id>enforce</id>
> <configuration>
> <rules>
> <myCustomRule implementation="org.apache.maven.enforcer.rule.MyCustomRule">
> <shouldIfail>false</shouldIfail>
> </myCustomRule>
> </rules>
> </configuration>
> <goals>
> <goal>enforce</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-2032) org.jboss.forge.addon.maven.plugins.ConfigurationElement should support attributes
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2032:
--------------------------------------
Summary: org.jboss.forge.addon.maven.plugins.ConfigurationElement should support attributes
Key: FORGE-2032
URL: https://issues.jboss.org/browse/FORGE-2032
Project: Forge
Issue Type: Feature Request
Components: Build Tools - Maven
Affects Versions: 2.10.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.10.2.Final
Some configuration elements allow usage of attributes. This must be supported in the Maven model API:
Eg:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<dependencies>
<dependency>
<groupId>custom-rule</groupId>
<artifactId>custom-rule-sample</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<myCustomRule implementation="org.apache.maven.enforcer.rule.MyCustomRule">
<shouldIfail>false</shouldIfail>
</myCustomRule>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months