demoiselle-jsf-parent - problem with scope / session

2

I have a problem with an application developed with Demoiselle and I believe it is related to the ManagedBean scope.

I did the test in the example application (Bookmark) and the same problem occurred (I just created the demoiselle-jsf-parent-based project and executed it).

When I open the same record (edit screen) in two browser windows (same browser and same session) and go back to the first tab clicking save it seems that the system loses the reference to MB by creating a new instance instead of update.

I will describe how to simulate the problem so that someone can help me understand it:

  • Run the Bookmark;
  • Access the listing;
  • Copy the URL link and paste it in a new tab.
  • Go back to the first tab and access a record;
  • Go to the second tab and go to the same tab;
  • Return to the first tab and click save (here the error occurs, even when the update occurs the delete button is removed leaving only the save, if you click save the record is duplicated);
  • What is the best way to solve this problem?

        
    asked by anonymous 09.05.2016 / 18:53

    0 answers