thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Phillips <r...@trolocsis.com>
Subject Possible 0.8.0 Javascript bug
Date Fri, 04 Nov 2011 20:04:24 GMT
Hi All,

I have been testing 0.8.0 on our code base. Recently there was a patch
added that I believe breaks binary compatibility [1].

Error: Uncaught TypeError: Cannot read property 'length' of undefined

Generated Code (within a ftype == Thrift.Type.MAP block)
...
            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
              input.rstack.pop();
            }
...

Does node-thrift need to be modified for this change? Any help would
be appreciated.

Regards,
Ryan

[1] https://issues.apache.org/jira/browse/THRIFT-1238

Mime
View raw message