[JBoss JIRA] (WFCORE-1168) Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1168?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-1168:
-------------------------------------
Description:
The null check checks the field being assigned instead of the param passed in:
{code}
public Parameters setDeprecatedSince(ModelVersion deprecatedSince) {
if (deprecationData == null) { // <-- OOPS!
throw ControllerLogger.ROOT_LOGGER.nullVar("deprecatedSince");
}
…
[View More] this.deprecationData = new DeprecationData(deprecatedSince);
{code}
The field will always be null, making this method useless.
was:
The null check checks the field being assigned instead of the param passed in:
{code}
public Parameters setDeprecatedSince(ModelVersion deprecatedSince) {
if (deprecationData == null) { // <-- OOPS!
throw ControllerLogger.ROOT_LOGGER.nullVar("deprecatedSince");
}
this.deprecationData = new DeprecationData(deprecatedSince);
{code}
> Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
> -----------------------------------------------------------------------------
>
> Key: WFCORE-1168
> URL: https://issues.jboss.org/browse/WFCORE-1168
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.3.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 2.0.4.Final
>
>
> The null check checks the field being assigned instead of the param passed in:
>
> {code}
> public Parameters setDeprecatedSince(ModelVersion deprecatedSince) {
> if (deprecationData == null) { // <-- OOPS!
> throw ControllerLogger.ROOT_LOGGER.nullVar("deprecatedSince");
> }
> this.deprecationData = new DeprecationData(deprecatedSince);
> {code}
> The field will always be null, making this method useless.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 4 months
[JBoss JIRA] (WFCORE-1173) Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-1173:
----------------------------------------
Summary: Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
Key: WFCORE-1173
URL: https://issues.jboss.org/browse/WFCORE-1173
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.3.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
…
[View More] Fix For: 2.0.4.Final
The null check checks the field being assigned instead of the param passed in:
{code}
public Parameters setDeprecatedSince(ModelVersion deprecatedSince) {
if (deprecationData == null) { // <-- OOPS!
throw ControllerLogger.ROOT_LOGGER.nullVar("deprecatedSince");
}
this.deprecationData = new DeprecationData(deprecatedSince);
{code}
The field will always be null, making this method useless.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 4 months
[JBoss JIRA] (WFLY-5750) Hibernate 5 hibernate-java8 jar is missing
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-5750?page=com.atlassian.jira.plugin.... ]
Scott Marlow updated WFLY-5750:
-------------------------------
Summary: Hibernate 5 hibernate-java8 jar is missing (was: Hibernate 5 not fully integrated)
> Hibernate 5 hibernate-java8 jar is missing
> ------------------------------------------
>
> Key: WFLY-5750
> URL: https://issues.jboss.org/browse/WFLY-5750
> Project: WildFly
> …
[View More]Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 10.0.0.CR4
> Reporter: Juergen Zimmermann
> Assignee: Scott Marlow
>
> In $JBOSS_HOME/modules/system/layers/base/org/hibernate/main are these JARs:
> * hibernate-core
> * hibernate-entitymanager
> * hibernate-envers
> However, org.hibernate:hibernate-java8 is missing. This JAR enables the use of Instant, LocalDate, LocalDateTime LocalTime, ... being part of the new time API in JDK 8.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 4 months
[JBoss JIRA] (WFLY-5750) Hibernate 5 not fully integrated
by Juergen Zimmermann (JIRA)
Juergen Zimmermann created WFLY-5750:
----------------------------------------
Summary: Hibernate 5 not fully integrated
Key: WFLY-5750
URL: https://issues.jboss.org/browse/WFLY-5750
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 10.0.0.CR4
Reporter: Juergen Zimmermann
Assignee: Scott Marlow
In $JBOSS_HOME/modules/system/layers/base/org/hibernate/main …
[View More]are these JARs:
* hibernate-core
* hibernate-entitymanager
* hibernate-envers
However, org.hibernate:hibernate-java8 is missing. This JAR enables the use of Instant, LocalDate, LocalDateTime LocalTime, ... being part of the new time API in JDK 8.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 4 months
[JBoss JIRA] (WFCORE-432) CLI: Embedded Arrays need to be updatable easily
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFCORE-432?page=com.atlassian.jira.plugin... ]
Tomaz Cerar commented on WFCORE-432:
------------------------------------
Yes, WFCORE-14 and WFCORE-460 both address this issue.
So it safe to say this can be resolved.
> CLI: Embedded Arrays need to be updatable easily
> ------------------------------------------------
>
> Key: WFCORE-432
> URL: https://issues.jboss.org/browse/WFCORE-432
> Project:…
[View More] WildFly Core
> Issue Type: Feature Request
> Components: CLI
> Reporter: Jim Tyrrell
> Assignee: Alexey Loubyansky
> Labels: eap6-ux
>
> In the EAP 6 pilot we were presented a long string to create a Database Security Realm, it appears there is no way to update a single value. For example being able to change the string of the SQL of a principalsQuery or rolesQuery for example. Without having to put in the entire vale.
> /profile=default/subsystem=security/security-domain=DB_domain:add(authentication=[{"code" => "Database", "flag" => "required", "module-options"=>[("principalsQuery"=>"Select password from UsersTable.....
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
9 years, 4 months