You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2008/04/24 10:15:21 UTC
[jira] Created: (HARMONY-5786) [classlib][jndi][ldap] - decode
UnsolicitedNotificationImpl incorrectly
[classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
-----------------------------------------------------------------------
Key: HARMONY-5786
URL: https://issues.apache.org/jira/browse/HARMONY-5786
Project: Harmony
Issue Type: Bug
Components: Classlib
Affects Versions: 5.0M5
Reporter: Regis Xu
Fix For: 5.0M6
1.
public void decodeValues(Object[] values) {
result = new LdapResult();
result.decodeValues(values);
oid = Utils.getString(values[4]);
if (values[5] != null) { encodedValue = (byte[]) values[5]; }
}
if values[4] is null, oid will be assigned incoreect value "", while it should be null.
2. following RI, LdapContextImpl.targetMustExist() always return true
3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-5786) [classlib][jndi][ldap] - decode
UnsolicitedNotificationImpl incorrectly
Posted by "Jimmy, Jing Lv (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy, Jing Lv reassigned HARMONY-5786:
---------------------------------------
Assignee: Jimmy, Jing Lv
> [classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
> -----------------------------------------------------------------------
>
> Key: HARMONY-5786
> URL: https://issues.apache.org/jira/browse/HARMONY-5786
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M5
> Reporter: Regis Xu
> Assignee: Jimmy, Jing Lv
> Fix For: 5.0M6
>
> Attachments: HARMONY-5786.diff
>
>
> 1.
> public void decodeValues(Object[] values) {
> result = new LdapResult();
> result.decodeValues(values);
> oid = Utils.getString(values[4]);
> if (values[5] != null) { encodedValue = (byte[]) values[5]; }
> }
> if values[4] is null, oid will be assigned incoreect value "", while it should be null.
> 2. following RI, LdapContextImpl.targetMustExist() always return true
> 3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-5786) [classlib][jndi][ldap] - decode
UnsolicitedNotificationImpl incorrectly
Posted by "Jimmy, Jing Lv (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy, Jing Lv resolved HARMONY-5786.
-------------------------------------
Resolution: Fixed
Thanks Rigis,
Committed at r615215, please verify.
> [classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
> -----------------------------------------------------------------------
>
> Key: HARMONY-5786
> URL: https://issues.apache.org/jira/browse/HARMONY-5786
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M5
> Reporter: Regis Xu
> Assignee: Jimmy, Jing Lv
> Fix For: 5.0M6
>
> Attachments: HARMONY-5786.diff
>
>
> 1.
> public void decodeValues(Object[] values) {
> result = new LdapResult();
> result.decodeValues(values);
> oid = Utils.getString(values[4]);
> if (values[5] != null) { encodedValue = (byte[]) values[5]; }
> }
> if values[4] is null, oid will be assigned incoreect value "", while it should be null.
> 2. following RI, LdapContextImpl.targetMustExist() always return true
> 3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5786) [classlib][jndi][ldap] - decode
UnsolicitedNotificationImpl incorrectly
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Regis Xu closed HARMONY-5786.
-----------------------------
Verified. Thanks Jimmy.
> [classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
> -----------------------------------------------------------------------
>
> Key: HARMONY-5786
> URL: https://issues.apache.org/jira/browse/HARMONY-5786
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M5
> Reporter: Regis Xu
> Assignee: Jimmy, Jing Lv
> Fix For: 5.0M6
>
> Attachments: HARMONY-5786.diff
>
>
> 1.
> public void decodeValues(Object[] values) {
> result = new LdapResult();
> result.decodeValues(values);
> oid = Utils.getString(values[4]);
> if (values[5] != null) { encodedValue = (byte[]) values[5]; }
> }
> if values[4] is null, oid will be assigned incoreect value "", while it should be null.
> 2. following RI, LdapContextImpl.targetMustExist() always return true
> 3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5786) [classlib][jndi][ldap] - decode
UnsolicitedNotificationImpl incorrectly
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Regis Xu updated HARMONY-5786:
------------------------------
Attachment: HARMONY-5786.diff
Would anyone want to try this?
> [classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
> -----------------------------------------------------------------------
>
> Key: HARMONY-5786
> URL: https://issues.apache.org/jira/browse/HARMONY-5786
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M5
> Reporter: Regis Xu
> Fix For: 5.0M6
>
> Attachments: HARMONY-5786.diff
>
>
> 1.
> public void decodeValues(Object[] values) {
> result = new LdapResult();
> result.decodeValues(values);
> oid = Utils.getString(values[4]);
> if (values[5] != null) { encodedValue = (byte[]) values[5]; }
> }
> if values[4] is null, oid will be assigned incoreect value "", while it should be null.
> 2. following RI, LdapContextImpl.targetMustExist() always return true
> 3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.