installing plugins will reset UI to default and not reflect already present changes made
- 主要言語
- Go
- スター
- 15.7k
- フォーク
- 1.4k
- 平均マージ
- 3日 8時間
- マージ済み PR(30日)
- 7
説明
## Describe the bug
* UI changes reflected after "make build"
* UI changes lost after "./answer build --with example-plugin"
A clear and concise description of what the bug is.
### To Reproduce
Steps to reproduce the behavior:
1. ./answer init -C answer-data/
2. ./answer run -C answer-data/ => UI changes still present ✅ This is what we want.
3. Install plugin via cmd: ./answer build --with github.com/apache/incubator-answer-plugins/search-elasticsearch --with github.com/apache/incubator-answer-plugins/cache-redis
4. Restart app: ./answer run -C answer-data/ => Plugins got installed, but UI changes lost and set to default. 💥
Installing plugins will reset UI to default.
### Expected behavior
Installing plugins should not reset UI to default.
### Platform
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
answer version 1.3.5
revision: 3ce69256
build time: 1721985092
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
./answer init -C answer-data/、./answer run -C answer-data/、および一覧にある search-elasticsearch と cache-redis プラグインを指定した ./answer build --with で問題を再現します。UI の変更の復元に関係する build と startup の経路を追跡し、その後、プラグインのインストールと再起動後もカスタマイズした UI が維持されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100