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

Object template not applied when creating an object from within the same object #163

Open
3 tasks done
denis-ev opened this issue Aug 7, 2023 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@denis-ev
Copy link

denis-ev commented Aug 7, 2023

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

I'm uncertain whether this is a bug or a feature...

Initially, I designed a template for the Human object and proceeded to create multiple instances of Humans using this template. However, to my surprise, I discovered that I could create an object from the very object I was editing by simply selecting the text, right-clicking, and choosing the "turn into object" option (I'm new to this, haha).

In my specific situation, I attempted to create another Human using this method, only to realize that the template wasn't being utilized as intended.

Expected Behavior

I strongly believe that when creating objects in this manner, the template should be automatically applied, particularly in cases where the object being created originates from the same object that utilizes the template. This would ensure consistency and maintain the intended design and functionality of the template.

Steps To Reproduce

To reproduce the issue, please follow these steps:

  1. Begin by creating a template for the Human object.
  2. Proceed to create multiple instances of Humans using this template.
  3. Next, while editing one of the Human objects, select the desired text and right-click on it.
  4. From the context menu, choose the "turn into object" option.
  5. Upon creating the object in this manner, you will notice that it does not adhere to the template as expected.

By following these steps, you will encounter the situation where creating a Human object from the currently edited object does not utilize the intended template.

Environment

- OS:macOS 13.4
- AnyType Version: 0.33.3

Anything else?

No response

@denis-ev denis-ev added the bug Something isn't working label Aug 7, 2023
@Shampra
Copy link
Contributor

Shampra commented Aug 9, 2023

Pretty much the same problem as described here (but created via a different location)
https://community.anytype.io/t/template-not-used-as-default-in-custom-type/10145/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants