Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018354Openbravo ERP00. Application dictionarypublic2011-08-25 13:492011-10-12 01:56
xabiermerino 
mtaal 
highminoralways
closedfixed 
5
3.0MP2 
3.0MP4 
Core
No
0018354: If you define a column as mandatory, the field is not mandatory in grid view
If you define a column as mandatory, the field is manndatory in form view but it is not mandatory in grid view
- Set the column taxId (business partner) as mandatory
- Compile
- Go to the Business Partner's form view
- realize that the field is mandatory
- Go to frid view
- Realize that the field is not mandatory
No tags attached.
related to defect 00184703.0MP4 closed mtaal Performance: generate smaller javascript for a window, improve view generation performance 
has duplicate defect 00168273.0RC6 closed alostale Is not possible to make a field mandatory 
Issue History
2011-08-25 13:49xabiermerinoNew Issue
2011-08-25 13:49xabiermerinoAssigned To => alostale
2011-08-25 13:49xabiermerinoModules => Core
2011-08-25 13:49xabiermerinoResolution time => 1320793200
2011-08-25 13:57xabiermerinoIssue Monitored: networkb
2011-08-29 17:09alostaleRelationship addedhas duplicate 0016827
2011-08-29 17:09alostaleNote Added: 0040543
2011-08-29 17:10alostaleStatusnew => scheduled
2011-08-29 17:10alostalefix_in_branch => pi
2011-08-30 09:32alostaleAssigned Toalostale => dbaz
2011-09-06 19:41hgbotCheckin
2011-09-06 19:41hgbotNote Added: 0040774
2011-09-07 17:14dbazNote Added: 0040809
2011-09-07 17:14dbazAssigned Todbaz => mtaal
2011-09-07 17:14dbazNote Edited: 0040809bug_revision_view_page.php?bugnote_id=0040809#r2673
2011-09-20 14:35mtaalRelationship addedrelated to 0018470
2011-09-20 14:35mtaalNote Added: 0041133
2011-09-20 14:35mtaalStatusscheduled => resolved
2011-09-20 14:35mtaalFixed in Version => 3.0MP4
2011-09-20 14:35mtaalFixed in SCM revision => .
2011-09-20 14:35mtaalResolutionopen => fixed
2011-10-03 19:18marvintmNote Added: 0041473
2011-10-03 19:18marvintmStatusresolved => new
2011-10-03 19:18marvintmResolutionfixed => open
2011-10-03 19:18marvintmFixed in Version3.0MP4 =>
2011-10-04 10:34marvintmStatusnew => acknowledged
2011-10-04 10:34marvintmStatusacknowledged => scheduled
2011-10-04 10:35marvintmStatusscheduled => resolved
2011-10-04 10:35marvintmResolutionopen => fixed
2011-10-04 10:35marvintmNote Added: 0041480
2011-10-04 10:35marvintmStatusresolved => closed
2011-10-12 01:56hudsonbotCheckin
2011-10-12 01:56hudsonbotNote Added: 0041595

Notes
(0040543)
alostale   
2011-08-29 17:09   
Might be the same issue as 0016827 for grid form
(0040774)
hgbot   
2011-09-06 19:41   
Repository: erp/devel/pi
Changeset: 5e9abd930a15e74f418cf20289658b6f9342bf0b
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Sep 06 19:41:27 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e9abd930a15e74f418cf20289658b6f9342bf0b [^]

Related to issue 18354

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
---
(0040809)
dbaz   
2011-09-07 17:14   
Now the grid input, is really mandatory but is not visual reflected (there is no yellow background).

The problem is that it seems OBGridView field generation is different from DataSource one. (In OBGridView is ok and in DataSource it isn't)

A refactor is going to be implemented by mtaal.

(0041133)
mtaal   
2011-09-20 14:35   
Works now fine, also the visualization of the grid field shows the yellow background
(0041473)
marvintm   
2011-10-03 19:18   
The case described seems to work, but it seems there are cases when the mandatory setting is not taken into account correctly.

In Windows, tabs and fields, in the Field tab, the colspan and rowspan columns are considered mandatory in grid view, although they are marked as non-mandatory in the Application Dictionary.
(0041480)
marvintm   
2011-10-04 10:35   
The previous test was done in an older pi. In current pi it works correctly.
(0041595)
hudsonbot   
2011-10-12 01:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test