Skip to content

correct (more usable) conversion of ldap entry attributes to string#124

Merged
sergeytrasko merged 1 commit intoctco:masterfrom
mike-hmelov:ldap_entry_attribute_toString_fix
Jan 12, 2018
Merged

correct (more usable) conversion of ldap entry attributes to string#124
sergeytrasko merged 1 commit intoctco:masterfrom
mike-hmelov:ldap_entry_attribute_toString_fix

Conversation

@mike-hmelov
Copy link
Copy Markdown
Contributor

Currently method which is used in
^entity contains attribute "([a-zA-Z][a-zA-Z0-9-])" with value "(.)"$
step uses simple toString on attribute value
So toString'ed byte[] values look like that - [B@e874448

This fix converts

  • byte[] and char[] array attribute value to String using UTF-8
  • other array type values will look like {<el1.toString()>, <el2.toString()>...}

@sergeytrasko sergeytrasko merged commit 1ec4645 into ctco:master Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants