Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005956Openbravo ERP01. General setuppublic2008-11-13 17:592008-12-02 06:42
plujan 
mtaal 
immediatecriticalhave not tried
closedfixed 
10
pi 
2.50pi 
No
Core
No
0005956: 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.
depends on backport 00059582.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 17:59plujanNew Issue
2008-11-13 17:59plujanAssigned To => eduardo_Argal
2008-11-13 17:59plujansf_bug_id0 => 2277353
2008-11-13 17:59plujanOBNetwork customer => No
2008-11-13 17:59plujanRegression testing => No
2008-11-13 18:55plujanStatusnew => scheduled
2008-11-13 18:55plujanAssigned Toeduardo_Argal => mtaal
2008-11-13 18:55plujanfix_in_branch => trunk
2008-11-13 23:08jpabloaeNote Added: 0010267
2008-11-13 23:08jpabloaeStatusscheduled => resolved
2008-11-13 23:08jpabloaeResolutionopen => fixed
2008-11-13 23:08jpabloaeFixed in Version => trunk
2008-11-13 23:08jpabloaesvn_revision => 10012
2008-11-13 23:08jpabloaefix_in_branchtrunk =>
2008-12-02 06:42krishnaStatusresolved => closed

Notes
(0010267)
jpabloae   
2008-11-13 23:08   
As the commit message didn't take the regexp (becasue of the square brackets), marking as resolved.