ValidatePrefs not working?

Greetings. How can i validate Prefs after saving and promt user to correct if something wrong (wrong login|password).

This code doen’t work (nothing is shown):

def ValidatePrefs():
  return MessageContainer('Error', 'Something wrong!')

All what i get in log:

2015-09-17 16:39:23,739 (de8) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.kinopoisk/prefs/set
2015-09-17 16:39:23,742 (de8) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.kinopoisk/prefs/set
2015-09-17 16:39:23,750 (de8) : DEBUG (preferences:198) - Saved the user preferences
2015-09-17 16:39:23,763 (de8) : DEBUG (runtime:918) - Response: [200] MessageContainer, 100 bytes

ObjectContainer also doesn’t show any messages

ValidatePrefs()
This function is called when the user modifies their preferences. The developer can check the newly provided values to ensure they are correct (e.g. attempting a login to validate a username and password), and optionally return a MessageContainer to display any error information to the user.

Source: /uploads/default/original/3X/c/4/c474c361f240cf9ffd7330481c995a38c7d32a5b.pdf

Doesn’t behave as per framework documentation. I have the following installed:

  • Synology DS1815+ NAS running Plex server app “PlexMediaServer-1.1.4.2757-24ffd60-x86.spk”
  • Plex Web Version 2.8.1
  • Plex Server Version 1.1.4.2757
  • Accessed from running on Windows 10 pro x64

I need it to be working for my Hama agent, as i use agent data folders and if installed with Unsupported Appstore v2, i need to be able to bring a popup with this validation “def ValidatePrefs():” function but while it ran, no popup was shown… So same boat and issue persists…

Would love to have an update… Need the popup for my agent…