Projects tigase _server server-core Issues #844
Issues with usage of variables in DSL list items (#844)
Closed
Andrzej Wójcik (Tigase) opened 7 years ago

Following lines:

'vhost-man' () {
    vhostRepository () {
        instance () {
            items = [ 'localhost,a.localhost:clientCertCA='+env("CONFIG_BASE_DIR")+'/certs/root_ca.pem:clientCertRequired=true' ]
        }
    }
}

are loaded as:

test (class: tigase.server.test.TestComponent) {}
'vhost-man' () {
    vhostRepository () {
        instance () {
            items = [ '/certs/root_ca.pem:clientCertRequired=true' ]
        }
    }
}
Andrzej Wójcik (Tigase) commented 7 years ago

I've found a cause of this issue and fixed it, so now variables should be properly supported within list items.

wojciech.kapcia@tigase.net commented 7 years ago

Works OK now.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5662
Version
tigase-server-8.0.0
Spent time
8h 45m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#844
Please wait...
Page is in error, reload to recover