Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
I can correctly set inetOrgPerson's jpegPhoto attribute with Directory Studio in OpenLDAP. When choosing the attached image pixel.jpg in the ImageDialog the correct value is saved to OpenLDAP (checked with ldapsearch):
/9j/4AAQSkZJRgABAQEBLAEsAAD//gATQ3JlYXRlZCB3aXRoIEdJTVD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wgARCAABAAEDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAABP/EABQBAQAAAAAAAAAAAAAAAAAAAAf/2gAMAwEAAhADEAAAASooj//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQ/wD/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/EH//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/EH//xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAE/EH//2Q==
But in Directory Studio the method ImageDialog#getImageInfo returns "Invalid Image" because the byte[] it works on is based on a ldif record which contains different/corrupted data:
77+977+977+977+9ABBKRklGAAEBAQEsASwAAO+/ve+/vQATQ3JlYXRlZCB3aXRoIEdJTVDvv73vv70AQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU77+977+9AEMBAwQEBQQFCQUFCRQNCw0UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFO+/ve+/vQARCAABAAEDAREAAhEBAxEB77+977+9ABQAAQAAAAAAAAAAAAAAAAAAAATvv73vv70AFAEBAAAAAAAAAAAAAAAAAAAAB++/ve+/vQAMAwEAAhADEAAAASoo77+977+977+9ABQQAQAAAAAAAAAAAAAAAAAAAADvv73vv70ACAEBAAEFAn/vv73vv70AFBEBAAAAAAAAAAAAAAAAAAAAAO+/ve+/vQAIAQMBAT8Bf++/ve+/vQAUEQEAAAAAAAAAAAAAAAAAAAAA77+977+9AAgBAgEBPwF/77+977+9ABQQAQAAAAAAAAAAAAAAAAAAAADvv73vv70ACAEBAAY/An/vv73vv70AFBABAAAAAAAAAAAAAAAAAAAAAO+/ve+/vQAIAQEAAT8hf++/ve+/vQAMAwEAAgADAAAAEO+/vQDvv73vv70AFBEBAAAAAAAAAAAAAAAAAAAAAO+/ve+/vQAIAQMBAT8Qf++/ve+/vQAUEQEAAAAAAAAAAAAAAAAAAAAA77+977+9AAgBAgEBPxB/77+977+9ABQQAQAAAAAAAAAAAAAAAAAAAADvv73vv70ACAEBAAE/EH/vv73vv70=
Attachments
Attachments
Issue Links
- is cloned by
-
DIRSTUDIO-1234 Image Editor (still) does not work correctly
- Closed
- is related to
-
DIRSTUDIO-764 Image Editor does not work correctly
- Closed
-
DIRSTUDIO-1207 Remove JNDI provider and JNDI layer
- Closed