Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
how can i delete or remove the organization in liferay. Kiran Kumar Boyini July 18, 2011 10:34 PM
RE: how can i delete or remove the organization in liferay. Kiran Kumar Boyini July 18, 2011 10:35 PM
RE: how can i delete or remove the organization in liferay. Gaurav K Barot July 19, 2011 2:06 AM
RE: how can i delete or remove the organization in liferay. Kiran Kumar Boyini July 19, 2011 3:20 AM
RE: how can i delete or remove the organization in liferay. Hiran Chaudhuri July 22, 2011 1:48 PM
RE: how can i delete or remove the organization in liferay. Sagar A Vyas July 28, 2011 11:37 AM
RE: how can i delete or remove the organization in liferay. Szymon Gołębiewski July 18, 2011 11:31 PM
RE: how can i delete or remove the organization in liferay. Kiran Kumar Boyini July 19, 2011 3:20 AM
RE: how can i delete or remove the organization in liferay. Olaf Kock July 30, 2011 11:36 AM
RE: how can i delete or remove the organization in liferay. sharif razavi August 15, 2011 5:06 AM
RE: how can i delete or remove the organization in liferay. Olaf Kock August 15, 2011 8:19 AM
RE: how can i delete or remove the organization in liferay. Ivano Carrara December 15, 2011 2:44 PM
RE: how can i delete or remove the organization in liferay. Hitoshi Ozawa December 15, 2011 3:32 PM
RE: how can i delete or remove the organization in liferay. Ivano Carrara December 16, 2011 1:21 AM
RE: how can i delete or remove the organization in liferay. Ivano Carrara December 16, 2011 2:17 AM
RE: how can i delete or remove the organization in liferay. Brian Kim August 13, 2012 10:46 AM
RE: how can i delete or remove the organization in liferay. Hitoshi Ozawa August 14, 2012 5:19 AM
RE: how can i delete or remove the organization in liferay. Hitoshi Ozawa December 16, 2011 3:12 AM
Kiran Kumar Boyini
how can i delete or remove the organization in liferay.
July 18, 2011 10:34 PM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 281

Join Date: June 2, 2011

Recent Posts

Hi,



I am new to life ray, i login as administrator in liferay and i created sample organization. After that i try to delete that sample organization.

But it is not deleting,it is showing messages like "You cannot delete organizations that have sub organizations or users", i have checked the

users and sub organizations for that created organization, but there is no sub organization and users for that. Why it is not deleting.

Give the solution for this and explain why it is not deleting.

Please replay soon

Thanks and regards

kirankumar boyini
Kiran Kumar Boyini
RE: how can i delete or remove the organization in liferay.
July 18, 2011 10:35 PM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 281

Join Date: June 2, 2011

Recent Posts

kirankumar boyini:
Hi,



I am new to life ray, i login as administrator in liferay and i created sample organization. After that i try to delete that sample organization.

But it is not deleting,it is showing messages like "You cannot delete organizations that have sub organizations or users", i have checked the

users and sub organizations for that created organization, but there is no sub organization and users for that. Why it is not deleting.

Give the solution for this and explain why it is not deleting.

Please replay soon

Thanks and regards

kirankumar boyini
Szymon Gołębiewski
RE: how can i delete or remove the organization in liferay.
July 18, 2011 11:31 PM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

Go to Control Panel->Server Administration and Execute "Reindex all search indexes.".
Now go and see are there any other Organizations in your Liferay that might be a suborganization of the one you are trying to delete. Same goes for users.
Gaurav K Barot
RE: how can i delete or remove the organization in liferay.
July 19, 2011 2:06 AM
Answer

Gaurav K Barot

Rank: Junior Member

Posts: 44

Join Date: November 27, 2008

Recent Posts

Hi Kiran,

This happens when you have created any child organization or users under one organization. When you remove the user, normally it removes the indexes as well. But sometimes, if the indexes are not cleared properly it may give this kind of exception. So you should reindex all the search indexes and then try to remove the organization. Also, make sure you don't have any sub-orgs or users under the organization you are removing.
Kiran Kumar Boyini
RE: how can i delete or remove the organization in liferay.
July 19, 2011 3:20 AM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 281

Join Date: June 2, 2011

Recent Posts

Thanks for your quick response
Kiran Kumar Boyini
RE: how can i delete or remove the organization in liferay.
July 19, 2011 3:20 AM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 281

Join Date: June 2, 2011

Recent Posts

Thanks for your quick response
Hiran Chaudhuri
RE: how can i delete or remove the organization in liferay.
July 22, 2011 1:48 PM
Answer

Hiran Chaudhuri

Rank: Regular Member

Posts: 188

Join Date: September 1, 2010

Recent Posts

If it still does not work, make sure you really deleted the users.
I first removed the users and thought they were gone - in fact I had only disabled their accounts.

The Liferay procedure is to first disable, then delete the accounts.
Sagar A Vyas
RE: how can i delete or remove the organization in liferay.
July 28, 2011 11:37 AM
Answer

Sagar A Vyas

Rank: Liferay Master

Posts: 657

Join Date: April 17, 2009

Recent Posts

Remember only one line :

You cannot delete organizations that have sub-organizations or users.
Olaf Kock
RE: how can i delete or remove the organization in liferay.
July 30, 2011 11:36 AM
Answer

Olaf Kock

LIFERAY STAFF

Rank: Liferay Legend

Posts: 3463

Join Date: September 23, 2008

Recent Posts

This all only happens with the default hsql in-memory database, which is good for demo, but not good for production. You might as well just delete the default database and a new one will be created, this time without the organizations.

Please don't use the hsql database to create a live production instance. It's not really built for this purpose.
sharif razavi
RE: how can i delete or remove the organization in liferay.
August 15, 2011 5:06 AM
Answer

sharif razavi

Rank: Junior Member

Posts: 49

Join Date: August 13, 2009

Recent Posts

i have same problem


عکس
تصویر
تصاویر
Olaf Kock
RE: how can i delete or remove the organization in liferay.
August 15, 2011 8:19 AM
Answer

Olaf Kock

LIFERAY STAFF

Rank: Liferay Legend

Posts: 3463

Join Date: September 23, 2008

Recent Posts

So - have you tried the same solution?
Ivano Carrara
RE: how can i delete or remove the organization in liferay.
December 15, 2011 2:44 PM
Answer

Ivano Carrara

Rank: Expert

Posts: 305

Join Date: July 2, 2005

Recent Posts

I have a similar problem but more strange.... I'm using LP CE 6.0.6

After a reindex from the Control Panel, in ALL Portal instances/Companies I can see ALL the Organizations from the entire Liferay server.

So, an Organization Administrator of a Portal instance can see ALL the Organizations from other Portal instances... he/she can't manage the other Organizations from other instances or view the associated users but he/she is able to view the presence of ALL the Organizations of the server....

Please, nobody get this strange situation?

Thank you in advance,
Ivano C.
Hitoshi Ozawa
RE: how can i delete or remove the organization in liferay.
December 15, 2011 3:32 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

You may not actually have "deleted" users but just inactivated them.
Go to Control Panel -> Users and select "Advanced >>" under the search text field. In the "Active" pull-down menu,
select "No" and do a search. Select all users and delete them.
Ivano Carrara
RE: how can i delete or remove the organization in liferay.
December 16, 2011 1:21 AM
Answer

Ivano Carrara

Rank: Expert

Posts: 305

Join Date: July 2, 2005

Recent Posts

Hi Hitoshi,

You are replying to the previous case....

My case is that from a Portal instance I'm seeing ALL Organizations of other Portal instances....

Anyway, thanks!
Ivano Carrara
RE: how can i delete or remove the organization in liferay.
December 16, 2011 2:17 AM
Answer

Ivano Carrara

Rank: Expert

Posts: 305

Join Date: July 2, 2005

Recent Posts

Here is the solution:

# Set this to true to search organizations from the index. Set this to false
# to search organizations from the database. Note that setting this to false
# will disable the ability to search organizations based on Expando
# attributes.
#
organizations.search.with.index=false
Hitoshi Ozawa
RE: how can i delete or remove the organization in liferay.
December 16, 2011 3:12 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Sorry. Its best to keep one topic per thread instead of mixing several questions in a thread.
Brian Kim
RE: how can i delete or remove the organization in liferay.
August 13, 2012 10:46 AM
Answer

Brian Kim

LIFERAY STAFF

Rank: Expert

Posts: 319

Join Date: August 16, 2004

Recent Posts

Note that searching via a database query isn't always the recommended approach, as it'll be faster to search via indexes. We had one company remove the user search via indexes in the past and instead resort to user search via the database, only to realize later that it wasn't scalable.
Hitoshi Ozawa
RE: how can i delete or remove the organization in liferay.
August 14, 2012 5:19 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

It shouldn't be too much of a problem because index can always be recreated. The only problem that may occur is it may take some time to recreate index if there are many data.