apache / apache/answer

installing plugins will reset UI to default and not reflect already present changes made

未关闭
#1,055 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
15.7k
派生
1.4k
平均合并
3 天 8 小时
30 天内合并 PR
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 更改所涉及的构建和启动路径,然后验证自定义 UI 在插件安装和重启后仍然保留。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
build-system
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。