Where is the Role Designer Screen?

I am trying to build some Resource Roles and Resource Policies but I can not see the Role Designer screen as described in the documentation. When I create a resource role, the java source file is created and appears on the code editor but no screen to help me customize it.
I checked my Jmix license on the Welcome screen; it is a “RAD” plan.

Trying to troubleshoot the problem, I created another test project and then created a resource role to see if the screen would appear in this new, empty project but the situation is the same.
After that, I even updated the IntelliJ Idea to the latest version, without any effect.

On the other hand, I noticed that the resource roles created on the new project appear under the “Security” item in the Jmix project tree, which does not happen in the original project.
New test project:
image

Original project:
image

Can anyone give me a clue on that?

Thanks.

Jmix version: 1.6.2
Jmix Studio plugin version: 2.1.3-231
IntelliJ version: IntelliJ IDEA 2023.1.7 (Community Edition)

java version “1.8.0_431”
Java™ SE Runtime Environment (build 1.8.0_431-b10)
Java HotSpot™ 64-Bit Server VM (build 25.431-b10, mixed mode)

I have the same issue with jmix 2.4.2 (jmix bookstore)

Hello, I use Jmix 2.2.3 and when I open a role under Security, it displays the editable source code of the role, with Text tab opened as default - but I can for example open Entities tab located in the bottom
image

Can you see that?

Kind regards,
Mladen

It does not show any tab
image

Btw. the same applies to the JPA / Entity editor…
Yesterday I updated IntelliJ to the latest version (24.3.1.1), I guess that broke it.

Most likely, yes.
My experience is that it is best to wait until the Jmix team catches up with the latest IntelliJ version, before upgrading myself. It takes a few days usually.
When I want to switch to the new IntelliJ version I don’t upgrade to not break anything, but rather install a new instance using the JetBrains Toolbox JetBrains Toolbox App: Manage Your Tools with Ease

I was using a previous version of IntelliJ, and I upgraded because I was experiencing this problem, but I have not seen any results.

My Resource Roles do not appear under “Security”. I can only see the Java code for them.

Hello,

java version “1.8.0_431”
Java™ SE Runtime Environment (build 1.8.0_431-b10)
Java HotSpot™ 64-Bit Server VM (build 25.431-b10, mixed mode)

Jmix Studio requires at least JDK 17, try to upgrade yours.

Thanks for the advice, Timur. I upgraded the Java SDK to version 17.0.12 and changed my project settings accordingly, but that did not solve the issue.

Hi @raccarva

Could you please attach idea.log file?

Hi, @carsten.hufe

Could you please also provide idea.log file?
And of course I assume that you have valid commercial or trial license.

Here is part of it. I think it covers the initial date of the issue.

idea.log (1.2 MB)

Thank you
Is it possible to also provide logs from the latest IDEA you said you have installed?

Do you have other Jmix visual designers available? (entity, enumeration, screen, etc…)

I opened the Ide with new log and created a new test Resource Role as a test. No screen was shown. Plase find the idea.log file attached.

idea.log (197.2 KB)

Yes. Other Jmix screens are working fine. See images below for the same entity.

image

image

Thank you

I see that you using Jmix plugin 2.1.3-231 that is rather old version, and IDEA 2023.1. Please try to install IDEA 2024.3 and latest Jmix plugin, 2.4.2-243.

Alexander, I think that is not an option for me at the moment because migrating my whole application to Jmix version 2 would require a huge effort.
When Jmix V 2 appeared, I did not adopt it because it did not have the equivalent of screen fragments which my application relies heavily upon for code reuse. So, I delayed my migration waiting for Jmix to come up with an equivalent feature. How is the situation now? Does Jmix version 2 feature something that provides the functionality of screen fragments?

Here I’am talking about updating Jmix Studio plugin, not Jmix framework version in the project.
It is recommended to have latest plugin version even if you working with legacy framework versions. Jmix Studio is fully compatible with all previous framework versions.