You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2006/12/08 17:28:21 UTC

[jira] Created: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

jpegPhoto attribute is returned as a String by SearchResultEntry
----------------------------------------------------------------

                 Key: DIRSERVER-792
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-792
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
            Reporter: Pierre-Arnaud Marcelot
             Fix For: 1.0


When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-792.
-----------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Emmanuel Lecharny

So far we can't reproduce this issue. My bet is that it was due to a bad configuration combined with an older version's bug. 

> jpegPhoto attribute is returned as a String by SearchResultEntry
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-792
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-792
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0
>            Reporter: Pierre-Arnaud Marcelot
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>
> When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

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


[jira] Updated: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-792:
----------------------------------------

    Fix Version/s: 1.5.0
                   1.0.1

Seems to be a probem with server.xml not being correctly set. To be fixed.

> jpegPhoto attribute is returned as a String by SearchResultEntry
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-792
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-792
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0
>            Reporter: Pierre-Arnaud Marcelot
>             Fix For: 1.0.1, 1.5.0
>
>
> When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

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


[jira] Closed: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSERVER-792.
--------------------------------------------


Closed as it can't be reproduced.

> jpegPhoto attribute is returned as a String by SearchResultEntry
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-792
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-792
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.0, 1.0.1
>
>
> When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

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


[jira] Commented: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462227 ] 

Emmanuel Lecharny commented on DIRSERVER-792:
---------------------------------------------

Is it possible to reproduce the pb using a junit test case ?

> jpegPhoto attribute is returned as a String by SearchResultEntry
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-792
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-792
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0
>            Reporter: Pierre-Arnaud Marcelot
>
> When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DIRSERVER-792) jpegPhoto attribute is returned as a String by SearchResultEntry

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-792?page=all ]

Pierre-Arnaud Marcelot updated DIRSERVER-792:
---------------------------------------------

        Fix Version/s:     (was: 1.0)
    Affects Version/s: 1.0

> jpegPhoto attribute is returned as a String by SearchResultEntry
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-792
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-792
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0
>            Reporter: Pierre-Arnaud Marcelot
>
> When an image is set in a jpegPhoto attribute, it is returned as a String whereas it should be returned as a byte[] since this is a binary file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira