0 Replies Latest reply on Dec 9, 2008 1:02 PM by Dragan Mijailovic

    A bug in the Booking demo application

    Dragan Mijailovic Newbie

      There  is a bug in the Booking demo application (http://demo.flamingo.exadel.com/booking/home.seam) :
      1.     First, log in.
      2.     Enter  „a“ in the first tab and click „Find hotels“.
      3.     Open the second tab and enter url  http://demo.flamingo.exadel.com/booking/home.seam. After enter „ta“ and click „Find hotels“. You should see FEWER hotels than you see them in the first tab.
      4.     Afer that go to the first tag and click „View Hotel“ link of the LAST hotel  and you will see debug page! The exception’s message is: Caused by javax.el.ELException with message: javax.ejb.EJBTransactionRolledbackException: attempt to create merge event with null entity.

      I think, the application caches hotels  in the session context and that’s problem. Should it caches hotels in the conversation context? What is solution?!