Main instance changes

thumbnail
31821, geändert vor 16 Jahren. Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge
Hi There.

I am a bit confused about how to contribute a bug fix and how to communicate bugs. Some months ago I created an issue in the issue tracker:

http://issues.liferay.com/browse/LPS-4134

And answered in the forum about the same issue (forum post)


Now I am dealing with the same problem and I think it is not resolved yet (AFAIK).

Well, the issue is that Liferay considers as main instance, and so its administratos as omniadmin, the first company returned by an SQL like this
...
SELECT company FROM Company company WHERE company.system = true/false


In a beginning it was OK because the companies where selected in the order they where created, but after creating several instances, the order changed and some instances where positioned before the default instance/company.

In the issue I sugested to and add "order by" clause to fix this problem. Another solution, at least for Oracle, could be defining the table "company" as an "index oganized table". But I think I didn´t communicate the issue properly.

Hope This helps to resolve the issue (if not resolved yet) and I will try to find the correct way to communicate bugs and the procedure to collaborate.

best regards,

Aritz Galdos
thumbnail
2401061, geändert vor 16 Jahren. Liferay Legend Beiträge: 2034 Beitrittsdatum: 05.03.09 Neueste Beiträge
My personal feeling is that omni-admin ought to be a declared role like Org Owner and not some wierd default thingy that can come unordered.
thumbnail
31821, geändert vor 16 Jahren. Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge
Hi,

I suggested our solution in http://issues.liferay.com/browse/LPS-4134

I don´t know wheter it is the correct proceeding to contribute a solution or not but...
thumbnail
2401061, geändert vor 16 Jahren. Liferay Legend Beiträge: 2034 Beitrittsdatum: 05.03.09 Neueste Beiträge
If you have one, I seriously doubt that anyone will sneer at a bug fix.... Just add your code to the ticket.
thumbnail
31821, geändert vor 16 Jahren. Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge