Something is wrong with removing a screen

I think I just found a BUG … :sweat_smile:

I created a screen
TIM%E5%9B%BE%E7%89%8720190315152505

Then, I removed it by clicking DELETE on xml file
TIM%E5%9B%BE%E7%89%8720190315152554

Eveything goes well ! It disapeared in sreen list.
TIM%E5%9B%BE%E7%89%8720190315152617

But I found it was still in directory :frowning:
TIM%E5%9B%BE%E7%89%8720190315152626
TIM%E5%9B%BE%E7%89%8720190315152632

If I didn’t take a look in the directory, I would directly create a new screen base on Entity Order,
TIM%E5%9B%BE%E7%89%8720190315152656
But I got stuck here.
No matter how many times I clicked the NEXT button, I got no response and no error message , and the answer is those files that should have been removed. : )

Hi!
Could you provide CUBA Studio version?

:grinning:
image

Could you try to reproduce the problem again, and attach your order-browse.xml and OrderBrowse.java?

Also, please attach CUBA Studio log file. You can find it with Help -> Show Logs in files.

I advise you not to use this theme. Actually, there is a warning on field Controller name, but you don’t see it, until you focus on the field. On the official themes, invalid fields are highlighted.

For better experience, switch to standard IntilliJ or Dracula theme.

1 Like

Yeah , you are right !

But I still have no idea about the failure of deleting those files .There is no log appended into the log file when I was reproducing the problem

image

The file exists, as you deleted only screen descriptor (xml). You can see all project files, if you switch from CUBA tree to Project tree.

Screenshot%20from%202019-03-15%2014-14-56

By the way, normally, CUBA Studio asks you if you also want to delete screen controller. If your share your controller and descriptor I’ll try to figure out, why CUBA Studio didn’t delete it.