[jira] Commented: (DIRSERVER-1104) Mixing Attribute value types
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-1104) Mixing Attribute value types




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-1104) Mixing Attribute value types  
Alex Karasulu (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-21-07 06:11 PM


[ https://issues.apache.org/jira/brow...action_12544538 ]

Alex Karasulu commented on DIRSERVER-1104:
------------------------------------------

The integration tests fail on windows.  This is where the bug clearly shows 
itself but *NIX can be made to show it as well.

> Mixing Attribute value types results in write failures
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1104
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1104
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: bigbang, 1.5.1
>            Reporter: Alex Karasulu
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: bigbang
>
>         Attachments: error.log, offending.ldif
>
>
> This new bug is really serious and tricky. It has eluded us but comes out 
now thanks to a crazy size effect it has on Windows.
> First a characterization of the bug.  An entry (Attributes object) may be valid an
d still contain an Attribute which has both byte[] and String array values.  Som
e may suggest that this is invalid since attributes are, according to their syntax, 
either
binary of human readable.  However this is not the case.  The fact that an a
ttributeType is human readable has no bearing on how the user supplies the v
alue.  Human readable data can be provided as binary information so long as 
it still conforms to the sy
ntax of the attribute.[vbcol=seagreen]
> Here's an example entry which would cause such a failure:
>     dn: cn=person1,ou=system
>     objectClass: organizationalPerson
>     cn: person1
>     sn: sn_person1
>     seealso: cn=Good One,ou=people,o=sevenSeas
>     seealso::  Y249QmFkIEXDqWvDoCxvdT1wZW9wbGUsbz1zZXZl
blNlYXM=
> This entry will cause the AttributeSerializerUtils.serialize() method to blow a Cl
assCastException.  Note the log of the error can be found attached to this issue.[/v
bcol]

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:51 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register