Foros de discusión

how can i delete or remove the organization in liferay.

kirankumar boyini, modificado hace 12 años.

how can i delete or remove the organization in liferay.

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
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
kirankumar boyini, modificado hace 12 años.

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

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
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
Gaurav K Barot, modificado hace 12 años.

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

Junior Member Mensajes: 44 Fecha de incorporación: 28/11/08 Mensajes recientes
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.
kirankumar boyini, modificado hace 12 años.

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

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Thanks for your quick response
Hiran Chaudhuri, modificado hace 12 años.

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

Regular Member Mensajes: 188 Fecha de incorporación: 1/09/10 Mensajes recientes
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
Sagar A Vyas, modificado hace 12 años.

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

Liferay Master Mensajes: 679 Fecha de incorporación: 17/04/09 Mensajes recientes
Remember only one line :

You cannot delete organizations that have sub-organizations or users.
thumbnail
Szymon Gołębiewski, modificado hace 12 años.

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

Regular Member Mensajes: 246 Fecha de incorporación: 8/06/09 Mensajes recientes
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.
kirankumar boyini, modificado hace 12 años.

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

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Thanks for your quick response
thumbnail
Olaf Kock, modificado hace 12 años.

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

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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, modificado hace 12 años.

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

Junior Member Mensajes: 49 Fecha de incorporación: 13/08/09 Mensajes recientes
i have same problem


عکس
تصویر
تصاویر
thumbnail
Olaf Kock, modificado hace 12 años.

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

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
So - have you tried the same solution?
thumbnail
Ivano Carrara, modificado hace 12 años.

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

Expert Mensajes: 345 Fecha de incorporación: 3/07/05 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 12 años.

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

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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
Ivano Carrara, modificado hace 12 años.

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

Expert Mensajes: 345 Fecha de incorporación: 3/07/05 Mensajes recientes
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
Ivano Carrara, modificado hace 12 años.

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

Expert Mensajes: 345 Fecha de incorporación: 3/07/05 Mensajes recientes
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
Brian Kim, modificado hace 11 años.

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

Expert Mensajes: 311 Fecha de incorporación: 17/08/04 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 11 años.

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

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 12 años.

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

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Sorry. Its best to keep one topic per thread instead of mixing several questions in a thread.