Projects tigase _server server-core Issues #966
Make sure that RepositoryItems are correctly stored in repository (#966)
Closed
wojciech.kapcia@tigase.net opened 6 years ago

Currently socket type is not correctly stored in the repository.

Andrzej Wójcik (Tigase) commented 6 years ago

It looks like socket type is properly stored in the repository in version 7.1.3 but it was not in version 8.0.0. As socket type option was added 8 months ago in version 7.1.3, I suppose it was not merged properly to version 8.0.0 which caused an issue, but after recent changes and fixes, all is ok now.

wojciech.kapcia@tigase.net commented 6 years ago

Actually the problem is slightly different - init.properties-only configuration is not stored in repository if never updated via ad-hoc/admin UI.

wojciech.kapcia@tigase.net commented 6 years ago

I included a small ad-hoc script Persist item configuration to force storing items to repository. Thus, after upgrading to 8.0.0 items will still be correctly available.

wojciech.kapcia@tigase.net commented 6 years ago

Add src/main/groovy/tigase/http/modules/rest/ApiKeyPersistCmd.java in http-api

wojciech.kapcia@tigase.net commented 6 years ago

Please add Persist item configuration for api-keys in http-api.

Andrzej Wójcik (Tigase) commented 6 years ago

I've added adhoc script named "Persist API keys items configuration" to the HTTP API component. As I checked it works fine, but it would be good to double check that.

wojciech.kapcia@tigase.net commented 6 years ago

Works good. I bumped http-api dependency in tigase-server:stable to include your fix.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
8061
Version
tigase-server-7.1.4
Spent time
42h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#966
Please wait...
Page is in error, reload to recover