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

When title is updated on an entry, also update markdown files for related entries #6161

Closed
AaratiAkkapeddi opened this issue Jan 28, 2022 · 2 comments
Labels
status: more info needed type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@AaratiAkkapeddi
Copy link

I've noticed that when an entry title field is updated, if this entry is related to any other entry via the title, the stored title in the related entry does not update.

For example, let's say projects can have multiple artists
Project 1 has two artists, John and Jane. The md file for Project 1 looks like this:

---
title: Project 1
description: A cool project
artists: 
     artist: 'John'
     artist: 'Jane'

If I update Jane's name to Jane Doe, although Jane's md file updates to name: 'Jane Doe' instead of name: 'Jane', my Project 1 md file still hasartist: 'Jane' instead of artist: 'Jane Doe'

@AaratiAkkapeddi AaratiAkkapeddi added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jan 28, 2022
@erezrokah
Copy link
Contributor

Hi @AaratiAkkapeddi, can you please follow the issue template as it's hard to understand the problem you're trying to solve.

More specifically, I'm not sure I understand what you mean by "related entry".

If you're using the relation widget, this could be covered in #192.
Also the recommendation is to use a non changeable field to create the relation. See #3712 (comment)

@AaratiAkkapeddi
Copy link
Author

Hi @AaratiAkkapeddi, can you please follow the issue template as it's hard to understand the problem you're trying to solve.

More specifically, I'm not sure I understand what you mean by "related entry".

If you're using the relation widget, this could be covered in #192. Also the recommendation is to use a non changeable field to create the relation. See #3712 (comment)

Hi! #3712 actually answers my question thank you!~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: more info needed type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

2 participants