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

🐛 Fix: when editing text, the original Wiki syntax should be visible - using the class and not the class label. #509

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jbostoen
Copy link
Contributor

Fix: when editing text, the original Wiki syntax should be visible - using the class and not the class label.

Try: in a text field of an object, refer to an object using wiki syntax, such as [[WebServer::1]]. Save. So far, everything works as expected. In view mode, it will show a link to Web Server (id 1).

However, when modifying the object (with the text field referencing Web Server 1), the text area will show the class label: [[Web Server::1]] . Easily overlooked, but it breaks the wiki syntax when saving the object again.

This PR changes the edit value to actually contain the original reference, using the class name instead of the class label.

See https://sourceforge.net/p/itop/tickets/1841/?limit=25#ddc5

@Molkobain Molkobain self-assigned this Jun 22, 2023
@Molkobain Molkobain added the bug Something isn't working label Jun 22, 2023
@Molkobain
Copy link
Contributor

Guillaume will try to reproduce through a unit test before functional review

@Molkobain Molkobain removed their assignment Aug 19, 2024
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
Status: Pending Combodo update
Development

Successfully merging this pull request may close these issues.

3 participants