Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打开文章设置导致发布时间丢失 #3080

Closed
cuiyanjie opened this issue Dec 29, 2022 · 1 comment · Fixed by halo-dev/console#807
Closed

打开文章设置导致发布时间丢失 #3080

cuiyanjie opened this issue Dec 29, 2022 · 1 comment · Fixed by halo-dev/console#807
Assignees
Labels
area/console Issues or PRs related to the Halo Console kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@cuiyanjie
Copy link

cuiyanjie commented Dec 29, 2022

是什么版本出现了此问题?

2.1.0-rc.1

使用的什么数据库?

PostgreSQL

使用的哪种方式部署?

Docker Compose

在线站点地址

No response

发生了什么?

问题一:已发表的文章,重新编辑时,进入设置菜单会默认增加一条元数据,发布时间也不显示了。
telegram-cloud-photo-size-1-5003637694865189742-y
telegram-cloud-photo-size-1-5003637694865189743-y
问题二:2.0开始,文章中图片居中发布后,无效果,仍然居左

相关日志输出

No response

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Dec 29, 2022

问题二:2.0开始,文章中图片居中发布后,无效果,仍然居左

请单独提交 issue,此 issue 仅用于跟踪设置的问题。

/kind bug
/area console
/assign
/milestone 2.1.x

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. area/console Issues or PRs related to the Halo Console labels Dec 29, 2022
@f2c-ci-robot f2c-ci-robot bot added this to the 2.1.x milestone Dec 29, 2022
@ruibaby ruibaby changed the title 文章进行设置时bug 打开文章设置导致发布时间丢失 Dec 29, 2022
f2c-ci-robot bot pushed a commit to halo-dev/console that referenced this issue Dec 29, 2022
#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复保存文章设置导致发布时间丢失的问题。

#### Which issue(s) this PR fixes:

Fixes halo-dev/halo#3080

#### Special notes for your reviewer:

测试方式:

1. 创建若干文章。
2. 返回到文章管理列表。
3. 打开任意文章的设置。
4. 检查发布时间是否回显,然后保存。
5. 保存之后检查发布时间是否还存在。

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端保存文章设置导致发布时间丢失的问题。
```
f2c-ci-robot bot pushed a commit to halo-dev/console that referenced this issue Dec 29, 2022
#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复保存文章设置导致发布时间丢失的问题。

see #807

#### Which issue(s) this PR fixes:

Fixes halo-dev/halo#3080

#### Special notes for your reviewer:

测试方式:

1. 创建若干文章。
2. 返回到文章管理列表。
3. 打开任意文章的设置。
4. 检查发布时间是否回显,然后保存。
5. 保存之后检查发布时间是否还存在。

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端保存文章设置导致发布时间丢失的问题。
```
f2c-ci-robot bot pushed a commit to halo-dev/console that referenced this issue Dec 29, 2022
)

#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复编辑旧文章时,没有为文章设置 `content.halo.run/preferred-editor` 的元数据的问题。

#### Which issue(s) this PR fixes:

Ref halo-dev/halo#3080

#### Special notes for your reviewer:

测试方式:

1. 在有旧数据的情况下切换到此 PR。
2. 编辑一篇旧的文章后保存。
3. 打开文章设置,检查元数据中是否包含了 `content.halo.run/preferred-editor`

#### Does this PR introduce a user-facing change?


```release-note
None
```
@JohnNiang JohnNiang modified the milestones: 2.1.x, 2.1.0 Dec 29, 2022
JohnNiang pushed a commit to JohnNiang/halo that referenced this issue Mar 2, 2023
…ole#807)

#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复保存文章设置导致发布时间丢失的问题。

#### Which issue(s) this PR fixes:

Fixes halo-dev#3080

#### Special notes for your reviewer:

测试方式:

1. 创建若干文章。
2. 返回到文章管理列表。
3. 打开任意文章的设置。
4. 检查发布时间是否回显,然后保存。
5. 保存之后检查发布时间是否还存在。

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端保存文章设置导致发布时间丢失的问题。
```
JohnNiang pushed a commit to JohnNiang/halo that referenced this issue Mar 2, 2023
…alo-dev/console#806)

#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复编辑旧文章时,没有为文章设置 `content.halo.run/preferred-editor` 的元数据的问题。

#### Which issue(s) this PR fixes:

Ref halo-dev#3080

#### Special notes for your reviewer:

测试方式:

1. 在有旧数据的情况下切换到此 PR。
2. 编辑一篇旧的文章后保存。
3. 打开文章设置,检查元数据中是否包含了 `content.halo.run/preferred-editor`

#### Does this PR introduce a user-facing change?


```release-note
None
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/console Issues or PRs related to the Halo Console kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants