-
I updated code to work with lowercased JIDs on database side to properly compare JID.
However this change requires update of MongoDB database, so that existing jids are also lowercased and hashes of JIDs are updated with hashes of lowercased jids. For that I prepared
updateSchema
method in every repository which needs to be converted and createdMongoSchemaUpdater
class withmain
method which allows to run schema update from command line.%wojtek Anything else I should do? If not then please close this task.
-
After the discussion it was decided we should use:
-
sha1 columns for the purpose of querying data;
-
maintain JID case in JID column.
This way it will be in line with specification and Tigase JID/BareJID implementation (maintaining JID case while performing case insensitive comparison).
-
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
4646
|
Local part of JID and domain part of JID needs to be compared in case insensitive way. We need to verify code and update it if required.