Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6290

PdxInstance with an empty string as class name should not support class versioning

    XMLWordPrintableJSON

Details

    Description

      Currently if you create a PdxInstanceFactory with the empty string as the class name then the PdxInstances it creates support class versioning. Since the empty string is not a class, these PdxInstances should not support class versioning. The only place this shows up is in PdxInstance.equal which allows two instances with different identity fields to still be equal. It does this if the one that has the identity field has the default value for it.

      What should happen if you have two PdxInstances with the class name "", is that they are only equal if the have all the same identity fields.

       

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h