掲示板

how can i delete or remove the organization in liferay.

12年前 に kirankumar boyini によって更新されました。

how can i delete or remove the organization in liferay.

Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
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
12年前 に kirankumar boyini によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
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
thumbnail
12年前 に Gaurav K Barot によって更新されました。

RE: how can i delete or remove the organization in liferay.

Junior Member 投稿: 44 参加年月日: 08/11/28 最新の投稿
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.
12年前 に kirankumar boyini によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Thanks for your quick response
12年前 に Hiran Chaudhuri によって更新されました。

RE: how can i delete or remove the organization in liferay.

Regular Member 投稿: 188 参加年月日: 10/09/01 最新の投稿
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.
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Remember only one line :

You cannot delete organizations that have sub-organizations or users.
thumbnail
12年前 に Szymon Gołębiewski によって更新されました。

RE: how can i delete or remove the organization in liferay.

Regular Member 投稿: 246 参加年月日: 09/06/08 最新の投稿
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.
12年前 に kirankumar boyini によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Thanks for your quick response
thumbnail
12年前 に Olaf Kock によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
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.
12年前 に sharif razavi によって更新されました。

RE: how can i delete or remove the organization in liferay.

Junior Member 投稿: 49 参加年月日: 09/08/13 最新の投稿
i have same problem


عکس
تصویر
تصاویر
thumbnail
12年前 に Olaf Kock によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
So - have you tried the same solution?
thumbnail
12年前 に Ivano Carrara によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 345 参加年月日: 05/07/03 最新の投稿
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.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
thumbnail
12年前 に Ivano Carrara によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 345 参加年月日: 05/07/03 最新の投稿
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!
thumbnail
12年前 に Ivano Carrara によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 345 参加年月日: 05/07/03 最新の投稿
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
thumbnail
11年前 に Brian Kim によって更新されました。

RE: how can i delete or remove the organization in liferay.

Expert 投稿: 311 参加年月日: 04/08/17 最新の投稿
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.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: how can i delete or remove the organization in liferay.

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Sorry. Its best to keep one topic per thread instead of mixing several questions in a thread.