This question about Using an extension: Answered
can't add items to the My Links list
Recently, when I started using the NatSkin skin, I also discovered the possibility to add topics to 'My Links': More gear icon > Socials section > Add to favorites.
It works well on my personal wiki, showing the 'Added to favorites' message and adding the item to the 'My links' list.
However, on the intranetwiki at work, I get the message 'Topic does not exist', and the topic isn't added to the 'My links' list.
I found out, it depends on the
ListyPlugin.
However, if I go to the Configure page > Extensions, I see the
ListyPlugin is enabled. Also, all other required plugins (and the JsconRpcContrib) are installed and enabled.
Am I overlooking something?
Kind regards
Stijn
Please make sure you are using the latest
ListyPlugin and
JQueryPlugin. Does the error persist after upgrading both (and refreshing the browser cache) ?
--
MichaelDaum - 31 Jul 2019
Back from a two weeks holiday in Tuscany, I'm back in business
The
ListyPlugin wasn't the latest version. However, even with the latest version (and after refreshing the browser cache), adding topics to My Links doesn't work - same error.
--
StijnBousard - 21 Aug 2019
Did you update
JQueryPlugin as well?
--
MichaelDaum - 14 Jan 2020
Still struggling with this one. All required plugins are up to date. I noticed I'm able to add items as admin user, not as another user. Adding a regular user to the
AdminGroup doesn't help. What else can be checked?
--
StijnBousard - 29 Jun 2020
INITIAL WORKAROUND
I now compared the wiki events.log when creating a link as the admin user (succeeding) and as another user (failing)
Log from a correctly added link:
| 2020-06-29T15:10:22+02:00 info | admin | rest | Explio.Ace2 | JQueryPlugin tmpl Chrome | 192.168.0.154 |
| 2020-06-29T15:10:28+02:00 info | admin | jsonrpc | Main.AdminUser | ListyPlugin saveListyItem Chrome | 192.168.0.154 |
| 2020-06-29T15:10:28+02:00 info | admin | save | Main.AdminUser | Chrome | 192.168.0.154 |
| 2020-06-29T15:10:30+02:00 info | admin | rest | Explio.Ace2 | RenderPlugin render Chrome | 192.168.0.154 |
| 2020-06-29T15:10:39+02:00 info | admin | jsonrpc | Main.AdminUser | ListyPlugin saveListy Chrome | 192.168.0.154 |
| 2020-06-29T15:10:39+02:00 info | admin | save | Main.AdminUser | Chrome | 192.168.0.154 |
Log from a trial from sbo/Stijn Bousard:
| 2020-06-29T15:18:50+02:00 info | sbo | rest | Explio.HogeschoolUtrechtAce2 | JQueryPlugin tmpl Chrome | 192.168.0.154 |
| 2020-06-29T15:18:54+02:00 info | sbo | jsonrpc | Main.sbo | ListyPlugin saveListyItem Chrome | 192.168.0.154 |
However, there is no Main.sbo. It's Main.StijnBousard!
Solution: as root, create a symbolic link sbo.txt pointing to StijnBousard.txt:
root@odin:/srv/htdocs/foswiki/data/Main# ln -s StijnBousard.txt sbo.txt
Then set group and owner. Warning: for a symbolic link, you have to add the -h option:
chown -h www-data:www-data sbo.txt
-- StijnBousard - 29 Jun 2020
SOLUTION
There was something wrong with the
WikiUsers list.
The list did only contain the WikiUserNames, not the UserNames (= login names).
In order for the My Links list to work correctly, the WikiUserNames must be mapped to the UserNames (login names) in the
WikiUsers topic!
The items in the list must be as follows:
WikiUserName - UserName - date of registration - hour of registration
So, in my case:
StijnBousard - sbo - 19 Feb 2010 - 15:48
--
StijnBousard - 02 Jul 2020