Uploaded image for project: 'MyFaces Orchestra'
  1. MyFaces Orchestra
  2. ORCHESTRA-58

ConversationManager should use equals to check for dummy id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4
    • 1.5
    • Conversation
    • None

    Description

      (from Mathias Scharl)

      The ConversationManager uses a DUMMY variable set to new Integer(-1). Later in the code this DUMMY is used to check for an invalid conversation id. Unfortunately this check is done via == instead of equals, which works most of the time, but after re-starting an application in tomcat (session is passivated), the DUMMY object is not the same anymore and the check does not work as expected. The solution is to use equals instead of ==.

      Attachments

        Issue Links

          Activity

            People

              jakobkorherr Jakob Korherr
              jakobkorherr Jakob Korherr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: