legacy-knowledge-base
Publicado Jul. 25, 0002

Users can't be assigned to sites

written-by

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • java.lang.IllegalArgumentException is occured when trying to add a user to a site.
  • Steps to reproduce:
    1. Add below property in portal-ext.properties file.
        users.search.with.index=false
    2. Start the server.
    3. 
    Create a user.
    4. Try to add the newly created user to a site (People -> Memberships -> Click on "+ " sign).

       Expected Behavior: The users must be add to the sites without any error.
       Actual Behavior: java.lang.IllegalArgumentExceptionerror is occurring and also the message on                                           UI is displaying like this "
    Memberships is temporarily unavailable".

Environment

  • Liferay DXP 7.2

Resolution

  • The observed behavior is a known issue and It is fixed in the fix-pack 11.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base