Skip to content

The database-bound block is automatically added to the database after being copied as a replica #11959

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

Closed
TCOTC opened this issue Jul 12, 2024 · 5 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jul 12, 2024

数据库绑定块复制为副本后,副本块需要添加到数据库中

  1. 副本块需要添加到数据库中
  2. 副本条目的字段值要跟原来的条目一致

内置属性和自定义属性都有,但数据库属性没有:

default.webm

关联 https://ld246.com/article/1720783311191

@88250 88250 self-assigned this Jul 17, 2024
@88250 88250 added this to the 3.1.2 milestone Jul 17, 2024
@88250 88250 changed the title 数据库绑定块复制为副本后,副本块需要添加到数据库中 The database-bound block is automatically added to the database after being copied as a replica Jul 17, 2024
88250 added a commit that referenced this issue Jul 17, 2024

Verified

This commit was signed with the committer’s verified signature.
…er being copied as a replica #11959
@88250 88250 closed this as completed Jul 17, 2024
@88250
Copy link
Member

88250 commented Jul 17, 2024

副本条目的字段值要跟原来的条目一致

这个暂时不做填充了,原有数据库字段值留空,或者按当前视图的过滤器设置填充。

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 17, 2024

还有点问题:文档块复制为副本之后没添加到数据库里

88250 added a commit that referenced this issue Jul 24, 2024

Verified

This commit was signed with the committer’s verified signature.
…er being copied as a replica #11959
@88250
Copy link
Member

88250 commented Jul 24, 2024

还有点问题:文档块复制为副本之后没添加到数据库里

感谢反馈,稍后改进。

88250 added a commit that referenced this issue Jul 24, 2024

Verified

This commit was signed with the committer’s verified signature.
…er being copied as a replica #11959
@Jiangshuon
Copy link
Contributor

@88250 d大,原文档中的块绑定了数据库,将文档复制为副本后,副本文档里面的块就没有绑定了,应该也要绑定吧

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 30, 2024

确实有这个问题,记录到 #12140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants