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

(Bug report) Inherited attributes not populated for ETAPI when note is cloned #3994

Closed
mm21 opened this issue Jun 1, 2023 · 1 comment
Closed

Comments

@mm21
Copy link
Contributor

mm21 commented Jun 1, 2023

Trilium Version

v0.60.1-beta

What operating system are you using?

Ubuntu

What is your setup?

Server access only

Operating System Version

Ubuntu 22.04 LTS

Description

This is very similar to #3989, but only occurs when the child note is initially created under another note (say root) and then cloned to a parent note with an inheritable attribute.

Steps to reproduce:

  1. Create a note under root (call it "parent note")
  2. Create an inheritable attribute for parent note
  3. Create another note under root (call it "child note")
  4. Create an attribute for child note (optional)
  5. Clone child note to parent note
  6. Check attributes of child note
    a. Doesn't contain parent note's attribute, but workaround from (Bug report) Inherited attributes not populated for ETAPI #3989 still applies - creating/deleting a dummy attribute for child causes parent's attribute to show

Error logs

No response

@mm21 mm21 added the Type: Bug label Jun 1, 2023
@zadam zadam closed this as completed in 0c4492b Jun 1, 2023
zadam added a commit that referenced this issue Jun 1, 2023
Add ETAPI test to repro inherited attribute issue for cloned note #3994
@zadam
Copy link
Owner

zadam commented Jun 1, 2023

Hi, I appreciate you testing and reporting these bugs - it's important to get these ironed out.

Should be fixed now.

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

2 participants