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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002489
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2008-01-10 11:442008-06-12 09:43
ReportercromeroView Statuspublic 
Assigned Toalostale 
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

0002489: Inserts does not works in spanish

DescriptionIf you try to create a new record, if you are in english version it works fine, but if you change your language to spanish it doesn't.

The reason is in the Audit. For some strange reason, when you are in spanish and create a new record, the fields createdby and updatedby are fulfilled with 'BBAdmin' user, but the updated and created fields don't.

So, it always shows an error asking for fulfill all needed fields.

See attached file.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0002983)
user71
2008-01-17 20:47
edited on: 2008-06-12 09:24

Logged In: YES
user_id=624118
Originator: NO

The same here (svn trunk). created, createdby, updated and updatedby is always isMandatory when should be the default value for today for spanish. So WAD add this javascript to es_ES html's but not in design (en), i. ex.:

diff -u WebContent/src-loc/es_ES/org/openbravo/erpWindows/ProcessPlan/ProcessPlan_Edition.html WebContent/src-loc/design/org/openbravo/erpWindows/ProcessPlan/ProcessPlan_Edition.html :

.....
 if (inputValue(frm.inpcreated)==null || inputValue(frm.inpcreated)=="") {
    setFocus(frm.inpcreated);
    mensaje(1);
    return false;
  }


 
 
  if (inputValue(frm.inpcreatedby)==null || inputValue(frm.inpcreatedby)=="") {
    setFocus(frm.inpcreatedby);
    mensaje(1);
    return false;
  }
 
 
  if (inputValue(frm.inpupdated)==null || inputValue(frm.inpupdated)=="") {
    setFocus(frm.inpupdated);
    mensaje(1);
    return false;
  }
 
 
 
 
  if (inputValue(frm.inpupdatedby)==null || inputValue(frm.inpupdatedby)=="") {
    setFocus(frm.inpupdatedby);
    mensaje(1);
    return false;
  }

.....
(0006078)
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=1868309 [^]

- Issue History
Date Modified Username Field Change


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker