You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using multi active profiles and starting springcloud, nacos throws Exception like below
for ',' is not valid char, but we need active multi profile like local,postgres etc..
Describe the bug
When using multi active profiles and starting springcloud, nacos throws Exception like below
for ',' is not valid char, but we need active multi profile like local,postgres etc..
invalid dataId:
dataId='service-local,postgres.yaml'
Expected behavior
No exception is throwed
Actually behavior
Error getting properties from nacos: NacosConfigDataResource{properties=NacosConfigProperties{serverAddr='null', encode='null', group='DEFAULT_GROUP', prefix='null', fileExtension='properties', timeout=3000, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', contextPath='null', clusterName='null', name='null'', shares=null, extensions=null, refreshEnabled=true}, optional=true, profiles=[Profiles@45673f68 active = '[local, postgres]', default = '[default]', accepted = '[local, postgres]'], config=NacosItemConfig{group='DEFAULT_GROUP', dataId='service-local,postgres.yaml', suffix='yaml', refreshEnabled=true, preference=null}}
com.alibaba.nacos.api.exception.NacosException: dataId invalid
at com.alibaba.nacos.client.config.utils.ParamUtils.checkKeyParam(ParamUtils.java:102) ~[nacos-client-2.4.2.jar:na]
How to Reproduce
Steps to reproduce the behavior:
active multi profile when starting springcloud application, like local,postgres
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: