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

rubygen with ruby 1.9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.10
    • C++ Build
    • None
    • Ruby 1.9.2

    Description

      The ampqgen.rb script appends an underscore to attributes that may conflict with attributes that may already exist in object. The issue is with 'type'. It is an attribute in ruby 1.8.x but not in 1.9.x. The code accesses a type_ attribute in the code which doesn't actually exist when running under 1.9.x because type isn't an attribute. The fis is a simple special case for the type symbol.

      Attachments

        1. amqpgen.rb.patch
          0.5 kB
          Geoffrey Clements

        Issue Links

          Activity

            People

              aconway Alan Conway
              baldmountain Geoffrey Clements
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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