apache / apache/answer

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

Open
#1,055 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
15.7k
Forks
1.4k
Avg merge
3d 8h
Merged PRs (30d)
7

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with ./answer init -C answer-data/, ./answer run -C answer-data/, and ./answer build --with the listed search-elasticsearch and cache-redis plugins. Trace the build and startup paths involved in restoring UI changes, then verify that the customized UI remains after plugin installation and restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.