Skip to content

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

Closed
@TCOTC

Description

@TCOTC
Contributor

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

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

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

default.webm

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

Activity

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

88250 commented on Jul 17, 2024

@88250
Member

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

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

TCOTC

TCOTC commented on Jul 17, 2024

@TCOTC
ContributorAuthor

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

88250

88250 commented on Jul 24, 2024

@88250
Member

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

感谢反馈,稍后改进。

Jiangshuon

Jiangshuon commented on Jul 30, 2024

@Jiangshuon
Contributor

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

TCOTC

TCOTC commented on Jul 30, 2024

@TCOTC
ContributorAuthor

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

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Jiangshuon@TCOTC

      Issue actions

        The database-bound block is automatically added to the database after being copied as a replica · Issue #11959 · siyuan-note/siyuan