Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005958
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 01. General setupcriticalhave not tried2008-11-13 18:552009-02-12 18:59
ReporterplujanView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in Version2.50alpha-r10
StatusclosedFix in branch2.50alpha-r1Fixed in SCM revision10015
ProjectionnoneETAnoneTarget Version2.50
OSWindowsDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision9956 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005958: After an Initial Client Setup if I try to login with generated user, I cannot use Openbravo anymore

DescriptionI 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.
Steps To Reproduce    * 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.
Proposed SolutionSince 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' "
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00059562.50 closedmtaal After an Initial Client Setup if I try to login with generated user, I cannot use Openbravo anymore 

-  Notes
(0010266)
svnbot (reporter)
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 [^]

- Issue History
Date Modified Username Field Change
2008-11-13 18:55 plujan New Issue
2008-11-13 18:55 plujan Assigned To => mtaal
2008-11-13 18:55 plujan Status new => scheduled
2008-11-13 23:07 svnbot Checkin
2008-11-13 23:07 svnbot Note Added: 0010266
2008-11-13 23:07 svnbot Status scheduled => resolved
2008-11-13 23:07 svnbot Resolution open => fixed
2008-11-13 23:07 svnbot svn_revision => 10015
2009-02-12 18:59 plujan Regression testing => No
2009-02-12 18:59 plujan Status resolved => closed
2009-02-12 18:59 plujan Fixed in Version => 2.50alpha-r10


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker