Your message dated Sun, 30 Aug 2009 23:18:09 +0000
with message-id <[email protected]>
and subject line Bug#543715: fixed in zeroc-ice 3.3.1-6
has caused the Debian Bug report #543715,
regarding php-zeroc-ice: Patch for PHP to use enum keys in dictionaries
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
543715: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543715
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php-zeroc-ice
Version: 3.3.1-5
Severity: normal
Tags: patch
The PHP module does not understand enum keys in dictionaries, despite the
fact that these are simply encoded as integers on the wire.
The attached patch fixes this, and allows enum-based keys for dictionaries
both when sending and receiving messages.
I've also sent this patch upstream, but as I've had quite a bit of end-user
feedback requesting this, I'm hoping you can include it the debian package
without waiting for upstream 3.3.2 (where I hope it will be included).
--- Ice-3.3.1/php/src/IcePHP/Marshal.cpp 2009-03-20 18:52:15.000000000 +0100
+++ myIce-3.3.1/php/src/IcePHP/Marshal.cpp 2009-08-23 23:12:55.000000000 +0200
@@ -378,6 +378,18 @@
{
return new NativeDictionaryMarshaler(dict->keyType(), dict->valueType() TSRMLS_CC);
}
+ en = Slice::EnumPtr::dynamicCast(dict->keyType());
+ if(en)
+ {
+ int count = static_cast<long>(en->getEnumerators().size());
+ Slice::UnitPtr unit = Slice::Unit::createUnit(true, false, false, false);
+ if(count <= 127)
+ return new NativeDictionaryMarshaler(unit->builtin(Slice::Builtin::KindByte), dict->valueType() TSRMLS_CC);
+ else if(count <= 32767)
+ return new NativeDictionaryMarshaler(unit->builtin(Slice::Builtin::KindShort), dict->valueType() TSRMLS_CC);
+ else
+ return new NativeDictionaryMarshaler(unit->builtin(Slice::Builtin::KindInt), dict->valueType() TSRMLS_CC);
+ }
}
Slice::ClassDeclPtr cl = Slice::ClassDeclPtr::dynamicCast(type);
--- Ice-3.3.1/php/src/IcePHP/Profile.cpp 2009-03-20 18:52:15.000000000 +0100
+++ myIce-3.3.1/php/src/IcePHP/Profile.cpp 2009-08-23 23:13:54.000000000 +0200
@@ -1348,7 +1348,7 @@
IcePHP::CodeVisitor::visitDictionary(const Slice::DictionaryPtr& p)
{
Slice::TypePtr keyType = p->keyType();
- if(!isNativeKey(keyType) && !_suppressWarnings)
+ if(!isNativeKey(keyType) && !Slice::EnumPtr::dynamicCast(keyType) && !_suppressWarnings)
{
//
// TODO: Generate class.
--- End Message ---
--- Begin Message ---
Source: zeroc-ice
Source-Version: 3.3.1-6
We believe that the bug you reported is fixed in the latest version of
zeroc-ice, which is due to be installed in the Debian FTP archive:
ice33-services_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/ice33-services_3.3.1-6_i386.deb
ice33-slice_3.3.1-6_all.deb
to pool/main/z/zeroc-ice/ice33-slice_3.3.1-6_all.deb
ice33-translators_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/ice33-translators_3.3.1-6_i386.deb
icebox_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/icebox_3.3.1-6_i386.deb
icegrid-gui_3.3.1-6_all.deb
to pool/main/z/zeroc-ice/icegrid-gui_3.3.1-6_all.deb
libfreeze33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libfreeze33_3.3.1-6_i386.deb
libglacier2-33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libglacier2-33_3.3.1-6_i386.deb
libicebox33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicebox33_3.3.1-6_i386.deb
libicegrid33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicegrid33_3.3.1-6_i386.deb
libicepatch2-33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicepatch2-33_3.3.1-6_i386.deb
libicessl33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicessl33_3.3.1-6_i386.deb
libicestorm33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicestorm33_3.3.1-6_i386.deb
libiceutil33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libiceutil33_3.3.1-6_i386.deb
libicexml33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libicexml33_3.3.1-6_i386.deb
libslice33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libslice33_3.3.1-6_i386.deb
libzeroc-ice-3.3-cil_3.3.1-6_all.deb
to pool/main/z/zeroc-ice/libzeroc-ice-3.3-cil_3.3.1-6_all.deb
libzeroc-ice-java_3.3.1-6_all.deb
to pool/main/z/zeroc-ice/libzeroc-ice-java_3.3.1-6_all.deb
libzeroc-ice-ruby1.8_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libzeroc-ice-ruby1.8_3.3.1-6_i386.deb
libzeroc-ice33-dbg_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libzeroc-ice33-dbg_3.3.1-6_i386.deb
libzeroc-ice33-dev_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libzeroc-ice33-dev_3.3.1-6_i386.deb
libzeroc-ice33_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/libzeroc-ice33_3.3.1-6_i386.deb
php-zeroc-ice_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/php-zeroc-ice_3.3.1-6_i386.deb
python-zeroc-ice_3.3.1-6_i386.deb
to pool/main/z/zeroc-ice/python-zeroc-ice_3.3.1-6_i386.deb
zeroc-ice33_3.3.1-6_all.deb
to pool/main/z/zeroc-ice/zeroc-ice33_3.3.1-6_all.deb
zeroc-ice_3.3.1-6.diff.gz
to pool/main/z/zeroc-ice/zeroc-ice_3.3.1-6.diff.gz
zeroc-ice_3.3.1-6.dsc
to pool/main/z/zeroc-ice/zeroc-ice_3.3.1-6.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Francisco Moya <[email protected]> (supplier of updated zeroc-ice package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 30 Aug 2009 15:58:16 +0200
Source: zeroc-ice
Binary: zeroc-ice33 ice33-translators ice33-services libicestorm33 libicegrid33
libicebox33 icebox libicepatch2-33 libglacier2-33 libfreeze33 ice33-slice
libzeroc-ice33 libicessl33 libiceutil33 libicexml33 libslice33
libzeroc-ice33-dev libzeroc-ice33-dbg python-zeroc-ice php-zeroc-ice
libzeroc-ice-3.3-cil libzeroc-ice-ruby1.8 libzeroc-ice-java icegrid-gui
Architecture: source all i386
Version: 3.3.1-6
Distribution: unstable
Urgency: low
Maintainer: Francisco Moya <[email protected]>
Changed-By: Francisco Moya <[email protected]>
Description:
ice33-services - Services bundled into ZeroC Ice
ice33-slice - Slice definitions for Ice 3.3 services
ice33-translators - Slice translators to several languages
icebox - Plugin-based meta-application for ZeroC Ice
icegrid-gui - GUI for IceGrid service
libfreeze33 - Libraries implementing a persistence framework for ZeroC Ice
libglacier2-33 - Libraries implementing a firewall service for ZeroC Ice
libicebox33 - Libraries implementing a plugin framework for ZeroC Ice
libicegrid33 - Libraries implementing grid-like services for ZeroC Ice
libicepatch2-33 - Libraries implementing a distribution service for ZeroC Ice
libicessl33 - Ice for C++ SSL plug-in
libicestorm33 - Libraries implementing an event service for ZeroC Ice
libiceutil33 - Ice for C++ misc utility library
libicexml33 - ZeroC Ice for C++ XML parser library
libslice33 - Ice for C++ Slice parser library
libzeroc-ice-3.3-cil - Ice for C# libraries
libzeroc-ice-java - Ice for Java libraries
libzeroc-ice-ruby1.8 - Ice for Ruby modules
libzeroc-ice33 - Ice for C++ runtime library
libzeroc-ice33-dbg - Ice for C++ debugging symbols
libzeroc-ice33-dev - Ice for C++ development libraries
php-zeroc-ice - Ice for PHP extension
python-zeroc-ice - Ice for Python libraries
zeroc-ice33 - Internet Communications Engine
Closes: 543715
Changes:
zeroc-ice (3.3.1-6) unstable; urgency=low
.
* Patch by Thorvald Natvig to fix enum keys in dictionaries in PHP
(Closes: #543715).
Checksums-Sha1:
b609bde22181ff06011f95cfc9c81e8f4b8454a0 1898 zeroc-ice_3.3.1-6.dsc
2b521eb14711eabebb517a001cc8cd58031166f7 24533 zeroc-ice_3.3.1-6.diff.gz
631e2ea884479ad3ebf4304d44afd6f8223b1273 22870 zeroc-ice33_3.3.1-6_all.deb
8758eb9e7e0e1d9c42eba4bae66ed6aa329d9ff3 194438 ice33-slice_3.3.1-6_all.deb
f494cef5bf2ee23431a9f13ed71748f9ea5ec2fc 541738
libzeroc-ice-3.3-cil_3.3.1-6_all.deb
9d1981cf5b41113fe8296cfffa1b607fbf627a76 1539422
libzeroc-ice-java_3.3.1-6_all.deb
1797e26273a8713e5c926374c0087be8d45c78e0 2611120 icegrid-gui_3.3.1-6_all.deb
575b94ae135a49f1dde55c89c5565de9f6c43ab7 828814
ice33-translators_3.3.1-6_i386.deb
c0ce608290df7aa2198166693c6ee4894edb0510 3232216
ice33-services_3.3.1-6_i386.deb
fa184db2c7b7dbf1428c6e9a4396a9c3a9bf2289 481238 libicestorm33_3.3.1-6_i386.deb
378a2fca6608bded8db2148c38522120036659cf 565702 libicegrid33_3.3.1-6_i386.deb
ccc972d619a8957df4c159a684f041a2529f60e3 78630 libicebox33_3.3.1-6_i386.deb
5495a13ce25b5c096e5cb845b71b406af3b36979 80568 icebox_3.3.1-6_i386.deb
1326998b476f08a074f6e8f71f02bbefeff1837c 142084
libicepatch2-33_3.3.1-6_i386.deb
664e3f18a8dd36f3add6f5be9c7f427afe19253d 163420 libglacier2-33_3.3.1-6_i386.deb
f092c5aed6caf23ca28bf7266dcf481bdb644de8 286614 libfreeze33_3.3.1-6_i386.deb
342eebd946de897ca68d1a1a46dd768fb730ae99 881542 libzeroc-ice33_3.3.1-6_i386.deb
e316c04624a0ee629a4b1e21b1585117e08ab3c6 137686 libicessl33_3.3.1-6_i386.deb
2ee3e8b08aa06f7dbbc0172f6c00b77678d5e37a 109422 libiceutil33_3.3.1-6_i386.deb
a03cfffa99625a3a02f85c99d2965043b660c7b3 41456 libicexml33_3.3.1-6_i386.deb
2f8b1bbf15c23c55df7043cab942582d78c786dd 474866 libslice33_3.3.1-6_i386.deb
e36aefbce5fc94c3e24f78c1d54ddaaaebc34686 158742
libzeroc-ice33-dev_3.3.1-6_i386.deb
9ba4ca9947bf0117875ce3107ac641ebbfc57628 33977854
libzeroc-ice33-dbg_3.3.1-6_i386.deb
1d4ae6b89194752b58f3521f308d05534b141a17 508964
python-zeroc-ice_3.3.1-6_i386.deb
53500d39d02b1edfa5918ad48ec3423b9c9de345 160118 php-zeroc-ice_3.3.1-6_i386.deb
a0012925b2a3d249a9ad4f7650f2c60dd013e17c 209032
libzeroc-ice-ruby1.8_3.3.1-6_i386.deb
Checksums-Sha256:
bd43482854af9b0e6d83d9ffa99fcefa11c019429427690328d33f1aebac5aa3 1898
zeroc-ice_3.3.1-6.dsc
3a976d46eca2613829f38aaaa8512dbcadb0cdad6ca6e6afd1ab1aa16ed9c104 24533
zeroc-ice_3.3.1-6.diff.gz
59be4fda11b532217cdf798d2e333dc2f5ed888627a0449f6be50a7ea4d0cc68 22870
zeroc-ice33_3.3.1-6_all.deb
1e3218af0b1ccda663e4ce08c0aa989d4c54d1c2cbe9b6141c697e74192fed68 194438
ice33-slice_3.3.1-6_all.deb
9d08b81f676d1b1dadc0c429c0549de895669397bed57c0b8ed2b834cbbc6a26 541738
libzeroc-ice-3.3-cil_3.3.1-6_all.deb
e7a50809eb859d991bd1aeb9b60634d8ed3123b7b5dc18c2221c859ed7d7bcc7 1539422
libzeroc-ice-java_3.3.1-6_all.deb
48e0068179eb833cca7fbe01d5c5356aab4d90ae1e5ec14e578ebae28c54f9d5 2611120
icegrid-gui_3.3.1-6_all.deb
9ee43a38508c20bd8d84779a911511880ae76d026b3e1d0962e83d8522625afb 828814
ice33-translators_3.3.1-6_i386.deb
e6f98dec0a29623f2114434d81b39b233c5005219771198c70e5ac1ad845b3ed 3232216
ice33-services_3.3.1-6_i386.deb
6fb70b39ace9be09051979950f73c4002621cc0be7c11a8609d95d743dc7e7c9 481238
libicestorm33_3.3.1-6_i386.deb
93e415ff2acb78e557d8eb314756d488808b91da6ff3cdc095ae155ad91e1552 565702
libicegrid33_3.3.1-6_i386.deb
98cdce269a7ac97af77e39e8fb1a92de32374f17380c7edcf0f83d040e74e60d 78630
libicebox33_3.3.1-6_i386.deb
3c5257056dd382eafb5061acc94f6e60f28bfc32d3b309d4617c2ce2f0d10d02 80568
icebox_3.3.1-6_i386.deb
7dada5539898764ffdcab65e0be44ab96d1391f5b1babd3b1da8601cbbec2444 142084
libicepatch2-33_3.3.1-6_i386.deb
55cca4cd6f3e5e7d52f25733a434b45f739c4b9cf9b91413c91ff8f1643de05b 163420
libglacier2-33_3.3.1-6_i386.deb
108b232fe0b708448fac45d4556c712a03f3f40b850f85e8d4ec882bcaf842ea 286614
libfreeze33_3.3.1-6_i386.deb
fb54587bf2426f93d395cb65857000bb5b421fa8065ebb20f11841023fd55d86 881542
libzeroc-ice33_3.3.1-6_i386.deb
515be356bc9954e782487de68de2828e35a0d14a5dde155d9bf8a5b44908f412 137686
libicessl33_3.3.1-6_i386.deb
653afda3d36161b33f761f5fe9a491ac6280dce9a0f82218f728ef1d9b271fcc 109422
libiceutil33_3.3.1-6_i386.deb
403402ee141845c7f1d07df32bdc02dea065070a5e8b102a73c5898958ccf771 41456
libicexml33_3.3.1-6_i386.deb
7de0d216aaadd712bf3fdb9f84ef8a261293907321f65307bf71fd8cd40e86ee 474866
libslice33_3.3.1-6_i386.deb
96f25823e0f89147d97c03f8a18b89e82a99995e918f4abbeeeb647ce5557325 158742
libzeroc-ice33-dev_3.3.1-6_i386.deb
7436d0c86425126f4ba88b5a09a6f77534920ba189a94a20e57c684bd53c0bd7 33977854
libzeroc-ice33-dbg_3.3.1-6_i386.deb
3be4e39b991257db044d12a11b5917ee3c86d3492127a0f27b096405b2355a32 508964
python-zeroc-ice_3.3.1-6_i386.deb
c554601971c57a0a823b1b1071d1d343a87d4d8eb66d9f39e3d9159657ea5a42 160118
php-zeroc-ice_3.3.1-6_i386.deb
78a51ce26d94d04272c8c547482581044c07bdd165250dce69e99e051827af38 209032
libzeroc-ice-ruby1.8_3.3.1-6_i386.deb
Files:
de852ff4644e26b238dd6280b9f07fe8 1898 devel optional zeroc-ice_3.3.1-6.dsc
a1b3802d3049d79bacf0480f0d1c8e6a 24533 devel optional zeroc-ice_3.3.1-6.diff.gz
a5741111581e284f4a0ae6e81302ee8d 22870 devel optional
zeroc-ice33_3.3.1-6_all.deb
85f0d7f07d61a1e03c3b15f6e359bfcf 194438 devel optional
ice33-slice_3.3.1-6_all.deb
a11c31ab43510c573b6054b1aee7a986 541738 cli-mono optional
libzeroc-ice-3.3-cil_3.3.1-6_all.deb
2eacb372a4b2b6e593acb1237a1c579d 1539422 java optional
libzeroc-ice-java_3.3.1-6_all.deb
0bfd6fec150de5af9ec544d7a93ced0c 2611120 devel optional
icegrid-gui_3.3.1-6_all.deb
24ff3389e6cb4ca9b7d0d8074d0e87fb 828814 devel optional
ice33-translators_3.3.1-6_i386.deb
ff859ef722a14ac9f2814d8fd39b0f84 3232216 devel optional
ice33-services_3.3.1-6_i386.deb
3584547895c10c9ae7538ce9fc71774c 481238 libs optional
libicestorm33_3.3.1-6_i386.deb
527cc329590cf985fdbae3d993474c7d 565702 libs optional
libicegrid33_3.3.1-6_i386.deb
a04b74b928c88dd989c663f140d42219 78630 libs optional
libicebox33_3.3.1-6_i386.deb
fd0a1d76668f7c4e6f728718c1a59e3f 80568 devel optional icebox_3.3.1-6_i386.deb
f3e7f2df1fb6ce4cbb74b804789e99eb 142084 libs optional
libicepatch2-33_3.3.1-6_i386.deb
0be7ec46961510ba0c9ad0aeea43e5b3 163420 libs optional
libglacier2-33_3.3.1-6_i386.deb
9c7d3a984af981b5fd0b0287ddf653db 286614 libs optional
libfreeze33_3.3.1-6_i386.deb
cb9f01f1c11dc20b9f18e9f289d9a43c 881542 libs optional
libzeroc-ice33_3.3.1-6_i386.deb
875980c9e688742ec5aad6d3c695e255 137686 libs optional
libicessl33_3.3.1-6_i386.deb
06a24d2c2ecc4f761a9c16382c748c57 109422 libs optional
libiceutil33_3.3.1-6_i386.deb
fe6b72493a6128e2dd750b8c476cc531 41456 libs optional
libicexml33_3.3.1-6_i386.deb
011f534edea05332f7ab8dd75dd5eed4 474866 libs optional
libslice33_3.3.1-6_i386.deb
a2484e06af757fca97d8216b8dc4c21d 158742 libdevel optional
libzeroc-ice33-dev_3.3.1-6_i386.deb
654a57e29d358871e85ec197f7e05453 33977854 debug extra
libzeroc-ice33-dbg_3.3.1-6_i386.deb
244caf4909dd698994ec3458338a9e33 508964 python optional
python-zeroc-ice_3.3.1-6_i386.deb
c3f87127f7090e310b21b5f8d55a198a 160118 php optional
php-zeroc-ice_3.3.1-6_i386.deb
487fc7e003be3777a0c52ac73645a9cc 209032 ruby optional
libzeroc-ice-ruby1.8_3.3.1-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqa43EACgkQG9DkpdBHzeE6OgCdGXfW+CC1hSFarFmZF9dp3JIB
JhYAnAmaYhIimikGU08iqKPCWAw3SXB4
=W4ZE
-----END PGP SIGNATURE-----
--- End Message ---