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

オープン
#1,055 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
build-system

調査の方向性

./answer init -C answer-data/、./answer run -C answer-data/、および一覧にある search-elasticsearch と cache-redis プラグインを指定した ./answer build --with で問題を再現します。UI の変更の復元に関係する build と startup の経路を追跡し、その後、プラグインのインストールと再起動後もカスタマイズした UI が維持されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug

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

主要言語
Go
スター
15.7k
フォーク
1.4k
平均マージ
9日 6時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/answer のほかの issue

apache/answer の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。