[jira] [Commented] (AVRO-1415) C++ binary encoder and decoder doesn't handle uninitialzed enums

2014-01-09 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13867572#comment-13867572
 ] 

ASF subversion and git services commented on AVRO-1415:
---

Commit 1557041 from [~thiru_mg] in branch 'avro/trunk'
[ https://svn.apache.org/r1557041 ]

AVRO-1415. C++ binary encoder and decoder doesn't handle uninitialzed enums

 C++ binary encoder and decoder doesn't handle uninitialzed enums
 

 Key: AVRO-1415
 URL: https://issues.apache.org/jira/browse/AVRO-1415
 Project: Avro
  Issue Type: Bug
  Components: c++
Affects Versions: 1.7.4
Reporter: Ramana Suvarapu
 Attachments: AVRO-1415-2.patch, AVRO-1415.patch


 When enums are not properly initialized and when they get encoded / decoded, 
 C++ enum encoding and decoding traits don't check for uninitialed enums and 
 it encodes the wrong values. When Java or C# tries to decode them, they throw 
 out of boundary exceptions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AVRO-1415) C++ binary encoder and decoder doesn't handle uninitialzed enums

2014-01-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13867598#comment-13867598
 ] 

Hudson commented on AVRO-1415:
--

SUCCESS: Integrated in AvroJava #424 (See 
[https://builds.apache.org/job/AvroJava/424/])
AVRO-1415. C++ binary encoder and decoder doesn't handle uninitialzed enums 
(thiru: rev 1557041)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/c++/CMakeLists.txt
* /avro/trunk/lang/c++/impl/avrogencpp.cc
* /avro/trunk/lang/c++/jsonschemas/empty_record
* /avro/trunk/lang/c++/test/AvrogencppTests.cc


 C++ binary encoder and decoder doesn't handle uninitialzed enums
 

 Key: AVRO-1415
 URL: https://issues.apache.org/jira/browse/AVRO-1415
 Project: Avro
  Issue Type: Bug
  Components: c++
Affects Versions: 1.7.4
Reporter: Ramana Suvarapu
Assignee: Ramana Suvarapu
 Attachments: AVRO-1415-2.patch, AVRO-1415.patch


 When enums are not properly initialized and when they get encoded / decoded, 
 C++ enum encoding and decoding traits don't check for uninitialed enums and 
 it encodes the wrong values. When Java or C# tries to decode them, they throw 
 out of boundary exceptions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AVRO-1415) C++ binary encoder and decoder doesn't handle uninitialzed enums

2014-01-08 Thread Thiruvalluvan M. G. (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13866287#comment-13866287
 ] 

Thiruvalluvan M. G. commented on AVRO-1415:
---

+1 except for a missing {{include}} directive in the generated code. Attached 
is the modified patch which inserted the directive. Also, generated the patch 
from the top level folder, instead of from {{lang/c\+\+/impl}}.

I'll commit this tomorrow, if there are no objections.

 C++ binary encoder and decoder doesn't handle uninitialzed enums
 

 Key: AVRO-1415
 URL: https://issues.apache.org/jira/browse/AVRO-1415
 Project: Avro
  Issue Type: Bug
  Components: c++
Affects Versions: 1.7.4
Reporter: Ramana Suvarapu
 Attachments: AVRO-1415-2.patch, AVRO-1415.patch


 When enums are not properly initialized and when they get encoded / decoded, 
 C++ enum encoding and decoding traits don't check for uninitialed enums and 
 it encodes the wrong values. When Java or C# tries to decode them, they throw 
 out of boundary exceptions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AVRO-1415) C++ binary encoder and decoder doesn't handle uninitialzed enums

2013-12-16 Thread Ramana Suvarapu (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13850106#comment-13850106
 ] 

Ramana Suvarapu commented on AVRO-1415:
---

Attached a patch to fix this problem

 C++ binary encoder and decoder doesn't handle uninitialzed enums
 

 Key: AVRO-1415
 URL: https://issues.apache.org/jira/browse/AVRO-1415
 Project: Avro
  Issue Type: Bug
  Components: c++
Affects Versions: 1.7.4
Reporter: Ramana Suvarapu
 Attachments: AVRO-1415.patch


 When enums are not properly initialized and when they get encoded / decoded, 
 C++ enum encoding and decoding traits don't check for uninitialed enums and 
 it encodes the wrong values. When Java or C# tries to decode them, they throw 
 out of boundary exceptions.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)