Unexpected behavior in text of Numista object link in comment of page [επιλυμένο]

4 αναρτήσεις • προβλήθηκε 56 φορές

Σκοπός αυτού του μηνύματος: αναφορά σφάλματος

Κατάσταση: Επιλυμένο
Θετικές ψήφοι: 0
Αρνητικές ψήφοι: 0

I noticed this issue when I edit a page in my scope as referee. I assume this happens in other cases.

 

Bug 1: The text is reduced when editing the comment

 

For example, we have this page N#484150

  1. Open for edit the page and write the comment.

    Note: These objects have not similar design, the links field is not used here. https://en.numista.com/help/links-134.html
  2. Click on “Modify data”. The links are replaced by text.
  3. Open for edit the page and see the comment. The text of links are reduced to the N# number. Add more text.

    Expected behaviour:
  4. Click on “Modify data”. The links are reduced to the N# number.

    Expected behaviour:

 

Bug 2: The text does not change after changing the title of the object linked

 

For example the page N#484150 has this text in links of the comment field

  • N# 322813: Spain · Elongated coin - Mount Teide
  • N# 484055: Spain · Elongated coin - Amaro Pargo
  • N# 486019: Spain · Elongated coin - Amaro Pargo

 

After write the comment, I change the title of the Amaro Pargo's medals, and now should display this text

  • N# 322813: Spain · Elongated coin - Mount Teide
  • N# 484055: Spain · Elongated coin - Amaro Pargo (Skull)
  • N# 486019: Spain · Elongated coin - Amaro Pargo (Figure)

but remains the previous title.

 

-----------------------------


Note: It works fine in messages of forums: the links are displayed in edit mode, and the texts are displayed in the view mode.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

I noticed another related bug.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

Hello,
The issue is fixed. 

  • Links to other items in the comment section are now always displayed as a clickable “N# 000” with a camera icon to preview the item. The formatting with the title and the light blue background is intended for the forum and private messages only.
    The clickable N# number and picture icon are shown either when you enter a URL or a N number in the format “N#000” or “N# 0000”.
  • Upon edit, links and N# numbers appear as you typed them (except that URLs are converted to links)
  • Editing multiple times doesn't lose the formatting.

 

Example of display of a link to another item in the comment section.
Η κατάσταση άλλαξε σε Επιλυμένο. (Xavier, 24 Σεπ 2025, 15:08)

Ok.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

» Πολιτική φόρουμ

Η ζώνη ώρας που χρησιμοποιείται είναι η UTC+2:00.
Η ώρα είναι 22:44.