Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-05-27 13:202009-06-09 00:00
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityurgentResolutionfixedFixed in Version2.50MP2
StatusclosedFix in branchFixed in SCM revisionf733983eabf8
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0009204: Module registration errors are not translate

DescriptionError messages when something fail in the module registration are text plain, it should be in the openbravo message format that are stored in database and allow translation.
Steps To ReproduceCurrently there is no way of reproduce the problem because the exceptions of registration process are not well formed/parsed.

But is possible to see the message by a webservice debugger like soapUI, is necessary to call to registration service with incorrect data, like and invalid user/pass.
Proposed Solutionchange the error message form:
   "User/pass incorrect"
   and add the message in database
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
gorka_gil (administrator)
2009-06-01 15:04

To fix the bug in openbravo side, is needed to add/update this messages in database:

@CR_RegisterNoUUID@ ModuleID is mandatory
@20531@ Not valid DB Prefix. DB Prefix must contain only upper alpha numeric characters and it must start with an alphabetic character.
@CR_DBPrefixInUse@ The given DB prefix is already in use. Try with different DB prefix
@CR_RegisterNoPackage@ The Java Package is mandatory.
@CR_JavaPacakgeInvalid@ A valid package name should be a string upto 255 ASCII characters following Java package name convention.
@CR_RegisterNoName@ Module Name is mandatory
@CR_RegisterInvalidName@ A valid module name should be a string upto 60 characters in natural English
@CR_RegisterNoDesc@ Description of module is mandatory.
@CR_RegisterInvalidDesc@ A valid module description should be a string upto 255 characters in natural English
@CR_RegisterNoType@ Type of module is mandatory.
@CR_RegisterInvalidType@ A valid module type should be one character. 'M' for module 'P' for packages and 'T' for industry templates.
@CR_PackageInUse@ The given Java Package is already in use. Try with different Java Package.
@CR_ModuleIDInUse@ Module Id already Registered.
@CR_RegUnknownError@ Unknown error occured while registering module. Contact forge admin.
@CR_RegInvalidUserPass@ Invalid username/password
@CR_RegInvalidForgeUser@ You are not yet synced with forge. Please login to forge then try registering.

A know issue is that for previous versions of openbravo (2.50 and 2.50mp1) the error messages are not updated or not exists.
For example the error for the invalid user in this versions will be "@CR_RegInvalidUserPass@"
hgbot (developer)
2009-06-02 11:25

Repository: erp/devel/pi
Changeset: 497df2a505ef4c811359fc4be0deea4b698be6e9
Author: Gorka Gil <gorka.gil <at>>
Date: Tue Jun 02 11:23:00 2009 +0200
URL: [^]

Fixed bug 9204 Added Central Repository Registration error messages.

M src-db/database/sourcedata/AD_MESSAGE.xml
hgbot (developer)
2009-06-03 15:42

Repository: erp/devel/pi
Changeset: f733983eabf8ef84e4e1195f8b3aae069a476826
Author: Gorka Gil <gorka.gil <at>>
Date: Wed Jun 03 15:42:57 2009 +0200
URL: [^]

Fixed bug 9204 Now Register errors are readed from database.

M src/org/openbravo/erpCommon/ad_process/

- Issue History
Date Modified Username Field Change
2009-05-27 13:20 gorka_gil New Issue
2009-05-27 13:20 gorka_gil Assigned To => alostale
2009-05-29 12:56 psarobe Status new => scheduled
2009-05-29 12:56 psarobe fix_in_branch => pi
2009-06-01 09:24 rafaroda version => pi
2009-06-01 09:24 rafaroda fix_in_branch pi =>
2009-06-01 15:04 gorka_gil Note Added: 0016813
2009-06-02 11:17 gorka_gil Assigned To alostale => gorka_gil
2009-06-02 11:25 hgbot Checkin
2009-06-02 11:25 hgbot Note Added: 0016848
2009-06-02 11:25 hgbot Status scheduled => resolved
2009-06-02 11:25 hgbot Resolution open => fixed
2009-06-02 11:25 hgbot Fixed in SCM revision => [^]
2009-06-03 15:42 hgbot Checkin
2009-06-03 15:42 hgbot Note Added: 0016921
2009-06-03 15:42 hgbot Fixed in SCM revision [^] => [^]
2009-06-08 12:50 psarobe Status resolved => closed
2009-06-08 12:50 psarobe Fixed in Version => 2.50MP2
2009-06-09 00:00 anonymous sf_bug_id 0 => 2803193

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker