Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005958Openbravo ERP01. General setuppublic2008-11-13 18:552009-02-12 18:59
plujan 
mtaal 
immediatecriticalhave not tried
closedfixed 
10
pi 
2.502.50alpha-r10 
Core
No
0005958: After an Initial Client Setup if I try to login with generated user, I cannot use Openbravo anymore
I created a new client using the new initial client setup process (the one that has not organization). After completing successfully the process, I try to login with created user, but after login I have an error message "org.openbravo.base.exception.OBException: Exception thrown The query 'select roa from org.openbravo.model.ad.access.RoleOrganization roa where roa.organization.id='D39ADF551F1E49CEA80CF8FA397B2749' and roa.isActive='Y' and roa.organization.isActive='Y' order by roa.organization.id desc' returned 0 results while only 1 result was expected"

And after that I cannot access Openbravo anymore, not even restarting Tomcat.
    * Login as Openbravo/openbravo
    * Click on icon "user info" and select the role "System Administrator"
    * Go General Setup -> Client-> Initial client setup
    * Fill the client field : SampleClient
    * Fill the Client Username: SampleClientAdmin
    * Fill the currency. EUR
    * Unmark the flag Include accounting
    * Click OK
    * Logout
    * Login with SampleClientAdmin/SampleClientAdmin. An error is shown.
Since there was no organization it seems that the problem is that the query is trying to get an non-existent Org_Id: ..." where roa.organization.id='D39ADF551F1E49CEA80CF8FA397B2749' "
No tags attached.
blocks defect 00059562.50 closed mtaal After an Initial Client Setup if I try to login with generated user, I cannot use Openbravo anymore 
Issue History
2008-11-13 18:55plujanNew Issue
2008-11-13 18:55plujanAssigned To => mtaal
2008-11-13 18:55plujanStatusnew => scheduled
2008-11-13 23:07svnbotCheckin
2008-11-13 23:07svnbotNote Added: 0010266
2008-11-13 23:07svnbotStatusscheduled => resolved
2008-11-13 23:07svnbotResolutionopen => fixed
2008-11-13 23:07svnbotsvn_revision => 10015
2009-02-12 18:59plujanRegression testing => No
2009-02-12 18:59plujanStatusresolved => closed
2009-02-12 18:59plujanFixed in Version => 2.50alpha-r10

Notes
(0010266)
svnbot   
2008-11-13 23:07   
Repository: openbravo
Revision: 10015
Author: jpabloae
Date: 2008-11-13 23:07:12 +0100 (Thu, 13 Nov 2008)

Fixes issue 5958

---
U branches/r2.50alpha-r1/src/org/openbravo/dal/core/OBContext.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=10015&sc=1 [^]