apache / apache/incubator-seata

seata2.5配置文件加载顺序有问题,导致SpringBootConfigurationProvider#getConfigFromEnvironment无法正常加载到配置

Open
#7,641 3 comments 0 reactions 1 assignee Claimed by @WangzJi View on GitHub
task: help-wanted type: bug
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

### Check Ahead

- [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

- [x] I am willing to try to fix this bug myself.

### Ⅰ. Issue Description

2.3的是先加载application.properties文件再去加载seata.config.type配置的,正常

Image

2.5的没有加载到就去加载seata.config.type配置了,导致无法正常加载
Image

### Ⅱ. Describe what happened

_No response_

### Ⅲ. Describe what you expected to happen

_No response_

### Ⅳ. How to reproduce it (as minimally and precisely as possible)

_No response_

### Ⅴ. Anything else we need to know?

_No response_

### Ⅵ. Environment

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.