Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1651

I* entity objects are lossy for primitive isSet-ness

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Build, Scheduler
    • None

    Description

      For example, ITaskQuery sets the offset and limit like so:

          this.offset = wrapped.getOffset();
          this.limit = wrapped.getLimit();
      

      There is no check to see if wrapped.isSetOffset or wrapped.isSetLimit paired with use of a nullable wrapper type (Integer vs int in this case) or an isSet bit vector. As a result a round trip from thrift struct to entity to thrift struct loses isSet-ness.

      Attachments

        Issue Links

          Activity

            People

              jsirois John Sirois
              jsirois John Sirois
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: