Editing a post's tags doesn't remove old ones #11

Open
opened 2024-10-09 23:52:54 +02:00 by roughnecks · 8 comments

I added this bookmark: https://blasta.woodpeckersnest.eu/url/25b8b3674c7fa11fa6c6674fc5f230cf
without remembering that tags have to be comma separated, so it published a very long tag with several words.

Then I thought to edit my post and replace the tags, this time correctly written, but the post retained the old wrong tag, and also added the new ones.

I think it should "forget" the old ones if you want to replace them.

I added this bookmark: https://blasta.woodpeckersnest.eu/url/25b8b3674c7fa11fa6c6674fc5f230cf without remembering that tags have to be comma separated, so it published a very long tag with several words. Then I thought to edit my post and replace the tags, this time correctly written, but the post retained the old wrong tag, and also added the new ones. I think it should "forget" the old ones if you want to replace them.
Owner

I think so, too.

I did not add a mechanis, to update am entry upon update by the first JID.

This is how the mechanism works:

The first time, that a new bookmark is aggregated to a Blasta instance, determines the entry in the system database which be displayed to others. In other words, the first JID to bookmark, is the JID which determines the details that be displayed by Blasta.

Please. Connect and check again. And see whether your bookmark is dispplayed differently.

As displayed to the public

scrot-rofi_20241010-080134

As displayed to JID which has that entry

scrot-rofi_20241010-080156

The sidebar for JID should display its own tags.

I think so, too. I did not add a mechanis, to update am entry upon update by the first JID. This is how the mechanism works: The first time, that a new bookmark is aggregated to a Blasta instance, determines the entry in the system database which be displayed to others. In other words, the first JID to bookmark, is the JID which determines the details that be displayed by Blasta. Please. Connect and check again. And see whether your bookmark is dispplayed differently. As displayed to the public ![scrot-rofi_20241010-080134](/attachments/890ba8d3-0e43-4a65-b237-865e6cb9e6fb) As displayed to JID which has that entry ![scrot-rofi_20241010-080156](/attachments/8f477b4f-9105-44f6-8434-367399adbd6e) The sidebar for JID should display its own tags.
Author

I was already connected.
Anyway, disconnected and connected again, the long tag is still there:

image

I was already connected. Anyway, disconnected and connected again, the long tag is still there: ![image](/attachments/6ea66af0-82ba-48a6-99dc-1a58bc9b3f4f)
2.5 KiB
Owner

If that tag is not associated with any other bookmark, then Bkasta should set the counter to zero (0) and the SQLite database should trigger an action to remove that tag from the database.

  • Please verify, that this tag is not associated with any other bookmark in the system.
  • Please confirm, that you are using the latest version.
If that tag is not associated with any other bookmark, then Bkasta should set the counter to zero (0) and the SQLite database should trigger an action to remove that tag from the database. - Please verify, that this tag is not associated with any other bookmark in the system. - Please confirm, that you are using the latest version.
Author

I have posted the bookmark link and a picture which shows the number (1) on the tag.

~/Blasta$ git pull
Already up to date.

I have posted the bookmark link and a picture which shows the number (1) on the tag. ~/Blasta$ git pull Already up to date.
Owner

Please backup the database, and connect to Blasta again.

mv main.sqlite main.sqlite.bak

Please backup the database, and connect to Blasta again. `mv main.sqlite main.sqlite.bak`
Author

It's all empty now.

It's all empty now.
Owner

Indeed. Connect to Blasta, and it will aggregate your bookmarks.

Indeed. Connect to Blasta, and it will aggregate your bookmarks.
Author

Oh, ok now.

Oh, ok now.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sch/Blasta#11
No description provided.