Bug 690205 - QPID-3116: rubygen with ruby 1.9
Summary: QPID-3116: rubygen with ruby 1.9
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Alan Conway
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 15:15 UTC by Alan Conway
Modified: 2012-12-10 22:35 UTC (History)
1 user (show)

Fixed In Version: qpid 0.10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-10 22:35:12 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-3116 0 None None None Never

Description Alan Conway 2011-03-23 15:15:23 UTC
Description of problem:

Note: this is a build system problem, there's no impact on users.

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.
Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. install ruby 1.9
2. build the qpid source tree
  
Actual results: ruby errors in code generation phase


Expected results: no errors


Additional info:

Comment 1 Alan Conway 2011-03-23 15:19:22 UTC
Committed to mrg_2.0.x

df009b1 Bug 690205 - QPID-3116: rubygen with ruby 1.9

Comment 2 Alan Conway 2011-06-27 12:10:17 UTC
Also on upstream trunk r1083889


Note You need to log in before you can comment on or make changes to this bug.