Comments (3)
- Is there any ETA for the fix? This bug renders entire DynamicMessage unusable - any merge, build, clone, parse, etc. methods won't work in the presence of any repeated enum field!
The bug is a MAJOR one, a showstopper!
Thanks in advance,
David
from protobuf.
Sorry, we don't have an ETA for this. It should be fixed in the next minor release which hasn't been scheduled yet.
I believe most uses of DynamicMessage still work as we have unit-tests covering DynamicMessage:
https://github.com/google/protobuf/blob/master/java/src/test/java/com/google/protobuf/DynamicMessageTest.java
Presumably these tests are not failing despite of the bug. In most places we use addRepeatedField()/setRepeatedField() instead of setField() to manipulate repeated fields. Users could use these methods as a workaround as well.
from protobuf.
Nope, the merge uses setField, and the clone, new builder, and build, and
the rest use the merge!
This is really the showstopper! Update the tests and you'll see it!
Also, most of the users will care only about the Maven Central, so this
minor emergency release could be done just for Java there.
On Sep 10, 2014 1:12 PM, "xfxyjwf" [email protected] wrote:
Sorry, we don't have an ETA for this. It should be fixed in the next minor
release which hasn't been scheduled yet.I believe most uses of DynamicMessage still work as we have unit-tests
covering DynamicMessage:Presumably these tests are not failing despite of the bug. In most places
we use addRepeatedField()/setRepeatedField() instead of setField() to
manipulate repeated fields. Users could use these methods as a workaround
as well.—
Reply to this email directly or view it on GitHub
#17 (comment).
from protobuf.
Related Issues (20)
- compile generated csharp file to assembly(dll) file error HOT 2
- PHP Google Protobuf lib - Error occurred during parsing: Unexpected wire type.
- Starting with 22.0 protobuf sources for well known types are no longer included in `protobuf-java-sources.jar` HOT 3
- Error compiling Kotlin code when field names conflict with top-level package names HOT 2
- ValueError while using the `update` method to convert a `dict` to Struct HOT 3
- Implementing protobuf enums as python enums HOT 5
- DiscardUnknownFields unnecessarily triggers SyncRepeatedWithMap HOT 6
- Missing binaries in maven central HOT 1
- Avoid library SONAME/install name changes on patch releases
- Evaluate Profile-Guided Optimization (PGO) HOT 1
- zlib(BUILD.bazel): Maybe it would be better to use @platforms instead of @bazel_tools? HOT 2
- High memory usage issue while streaming data as per gNMI.proto in ASCII/Proto format HOT 5
- Boolean variable to test if a field is deprecated
- incredible error getting the value of message
- google.protobuf has no attribute pyext HOT 1
- allow users to set the recursion limit in proto files HOT 2
- Ruby gem 3.24.0.rc.1 fails to install for Ruby 2.5 & 2.6 for the 'ruby' platform variant HOT 8
- PHP: Hope to support registration binding Any.type_url to class
- Message has repeated int32 or int64, will get errors in proto2 and proto3 HOT 3
- 浮点数压缩VarFloat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf.