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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002342
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2007-12-04 20:212008-11-26 13:59
ReporterjpabloaeView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Version2.40alpha-r2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0002342: No menu without sampledata in database creation

DescriptionIf one creates the database (ant create.database) commenting the sampledata line, then after logging in there are only 2 menu elements: a link to openbravo.com and "Information". So one can't do anything (create a client, etc).

Steps to reproduce:

1. Edit database/build.xml and comment the sampledata part:

  <target name="create.database">
    <antcall target="clean.database.${bbdd.rdbms}"/>
    <chmod dir="${base.source}/database" perm="755" type="both" />
    <antcall target="prepare.database"/>
    <antcall target="create.database.structure"/>
    <antcall target="import.database.data" />
    <!--<antcall target="import.database.sampledata" />-->
  </target>

2. Recreate the database, compile openbravo and deploy it.

ant create.database
ant core.lib wad.lib trl.lib compile.complete war
(here system steps to deploy war)

3. Login as Openbravo/openbravo.

4. There are no menu items.

* Environment:

Version: trunk r1667
Database: Oracle 10g XE
OS: Gentoo Linux
Ant 1.7.0
Tomcat 6
Sun JDK 1.5.0_13
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0003535 closedgorkaion No menu without sampledata in database creation 

-  Notes
(0002768)
gorkaion (viewer)
2007-12-05 19:14
edited on: 2008-06-12 09:23

Logged In: YES
user_id=1500690
Originator: NO

 Created the AD_UPDATE_ACCESS procedure, this procedure regenerates all the accesses for not manual roles. It takes into account the access level of both the roles and the objects. The postscript targets for ant now include a call to this procedure after the AD_UPDATE_SEQUENCE
(0002769)
jpabloae (viewer)
2007-12-10 11:09
edited on: 2008-06-12 09:23

Logged In: YES
user_id=1603191
Originator: YES

Reopened. It's still there in r1712.
(0002770)
gorkaion (viewer)
2007-12-10 11:13
edited on: 2008-06-12 09:23

Logged In: YES
user_id=1500690
Originator: NO

Fixed the window access. Now the role only has access when it has access level to the first tab.
(0005931)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1844298 [^]

- Issue History
Date Modified Username Field Change
2008-11-26 13:59 psarobe Regression testing => No
2008-11-26 13:59 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker