[JBoss JIRA] (DROOLS-4767) Fix error-popover position on simulation/background grids
by yamer (Jira)
[ https://issues.jboss.org/browse/DROOLS-4767?page=com.atlassian.jira.plugi... ]
yamer updated DROOLS-4767:
--------------------------
Story Points: 5 (was: 3)
> Fix error-popover position on simulation/background grids
> ---------------------------------------------------------
>
> Key: DROOLS-4767
> URL: https://issues.jboss.org/browse/DROOLS-4767
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
>
> When there is only one column on the grid, the popover is show to the left. But if there is not enough space to the left, the popover is not visible.
> Proposed solution, for this situation, is to show the popover _below_ the cell.
> If there is not space below, the the popover will be shown _above_.
> The final position preference order will be (respect the cell):
> RIGTH -> LEFT -> BELOW -> ABOVE
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12794) Elytron/JACC: Inconsistent EjbMethodPermissions
by Farah Juma (Jira)
[ https://issues.jboss.org/browse/WFLY-12794?page=com.atlassian.jira.plugin... ]
Farah Juma updated WFLY-12794:
------------------------------
Priority: Critical (was: Major)
> Elytron/JACC: Inconsistent EjbMethodPermissions
> -----------------------------------------------
>
> Key: WFLY-12794
> URL: https://issues.jboss.org/browse/WFLY-12794
> Project: WildFly
> Issue Type: Bug
> Components: EJB, Security
> Affects Versions: 18.0.0.Final
> Reporter: Ulf Brosziewski
> Priority: Critical
> Attachments: quickstart-ejb-sec.diff
>
>
> When JACC is enabled in an elytron application domain, calling a secured ejb method that has an array parameter causes an EjbAccessException.
> The reason for the failure is that the EjbMethodPermissions created by the EjbJaccConfigurator and the JaccInterceptor do not agree in the format of the type names for method parameters. According to the JACC specification and API documentation, names for array types should have the "canonical" form: component-type + "[]". The permission objects built by the JaccInterceptor conform to that, but the EjbJaccConfigurator builds them with type names obtained from a "MethodIdentifier", and these names have the internal format as returned by Class.getName().
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12806) Upgrade to Wildfly 17, can't find persistence unit
by Emilio Cuberos (Jira)
[ https://issues.jboss.org/browse/WFLY-12806?page=com.atlassian.jira.plugin... ]
Emilio Cuberos updated WFLY-12806:
----------------------------------
Description:
Hi,
Could you give us some advice? We upgraded from Java 8 / Wildfly 10, to Java 11 and Wildfly 17.
Now the persistence units (attached persistence.xml) are no longer found:
{code:java}
Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into CDI managed bean. Can't find a persistence unit named 'healthtrender-core' in deployment healthtrender-cloud-1.0.0.war for injection point private javax.persistence.EntityManager com.hemocue.cloud.repository.UserProfileRepository.em"}}
{code}
Here is an example of class where we inject a persistence-unit called "healthtrender-core" which is present in the persistence.xml:
{code:java}
package com.hemocue.cloud.repository;
import com.hemocue.cloud.entity.user.Program;
import javax.enterprise.context.Dependent;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Dependent
public class ProgramRepository extends AbstractRepository<Program> {
@PersistenceContext(unitName = "healthtrender-core")
private EntityManager em;
@Override
EntityManager entityManager() {
return em;
}
}
{code}
was:
Hi,
Could you give us some advice? We upgraded from Java 8 / Wildfly 10, to Java 11 and Wildfly 17.
Now the persistence units (attached persistence.xml) are no longer found:
{code:java}
Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into CDI managed bean. Can't find a persistence unit named 'healthtrender-core' in deployment healthtrender-cloud-1.0.0.war for injection point private javax.persistence.EntityManager com.hemocue.cloud.repository.UserProfileRepository.em"}}
{code}
Here is an example of class where we inject a persistence-unit called "healthtrender-core" which is present in the persistence.xml:
{code:java}
package com.hemocue.cloud.repository;
import com.hemocue.cloud.entity.user.Program;
import javax.enterprise.context.Dependent;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
*
* @author Ivar Grimstad (ivar.grimstad(a)gmail.com)
*/
@Dependent
public class ProgramRepository extends AbstractRepository<Program> {
@PersistenceContext(unitName = "healthtrender-core")
private EntityManager em;
@Override
EntityManager entityManager() {
return em;
}
}
{code}
> Upgrade to Wildfly 17, can't find persistence unit
> --------------------------------------------------
>
> Key: WFLY-12806
> URL: https://issues.jboss.org/browse/WFLY-12806
> Project: WildFly
> Issue Type: Bug
> Reporter: Emilio Cuberos
> Assignee: Brian Stansberry
> Priority: Major
> Attachments: persistence.xml
>
>
> Hi,
> Could you give us some advice? We upgraded from Java 8 / Wildfly 10, to Java 11 and Wildfly 17.
> Now the persistence units (attached persistence.xml) are no longer found:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into CDI managed bean. Can't find a persistence unit named 'healthtrender-core' in deployment healthtrender-cloud-1.0.0.war for injection point private javax.persistence.EntityManager com.hemocue.cloud.repository.UserProfileRepository.em"}}
> {code}
> Here is an example of class where we inject a persistence-unit called "healthtrender-core" which is present in the persistence.xml:
> {code:java}
> package com.hemocue.cloud.repository;
> import com.hemocue.cloud.entity.user.Program;
> import javax.enterprise.context.Dependent;
> import javax.persistence.EntityManager;
> import javax.persistence.PersistenceContext;
> @Dependent
> public class ProgramRepository extends AbstractRepository<Program> {
> @PersistenceContext(unitName = "healthtrender-core")
> private EntityManager em;
> @Override
> EntityManager entityManager() {
> return em;
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months