Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4730

Bug for qpid perl binding. The object is overwritten by the return value when a function return an integer.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.25
    • Component/s: Perl Client
    • Labels:
      None

      Description

      As per subject. Please read the example below for more details.

      print("receiver: " . $receiver . "\n");
      print("getCapacity; " . $receiver->getCapacity() . "\n");
      print("receiver: " . $receiver . "\n");
      print("getAvailable: " . $receiver->getAvailable() . "\n");

      receiver: cqpid::Receiver=HASH(0xc0fbb8)
      getCapacity: 0
      receiver: 0
      0: Operation now in progress: Can't call method "getAvailable" without a package or object reference at ./consumer.pl line 109.

        Attachments

          Activity

            People

            • Assignee:
              mcpierce Darryl Pierce
              Reporter:
              hyu Hao Chang Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: