Openbravo Issue Tracking System - Modules
View Issue Details
0013633ModulesCentral Repositorypublic2010-06-11 18:562010-07-08 17:32
shuehner 
alostale 
normalminorhave not tried
closedfixed 
5
 
 
0013633: [NewCR] Version List in ModuleTab page of forge sometimes does not show any versions (where it should)
Example url in production-forge:
http://forge.openbravo.com/centralRepository?navigate=ModuleTab&projectId=400 [^]

Several versions have been published for this module: latest 1.0.15 however the grid for the versions does not show any rows.

Looking into the JSON data response from the CR used to fill the grid, shows that it contain 4 rows, which are not shown in the grid.
http://forge.openbravo.com/centralRepository?navigate=ModuleTab&projectId=400 [^]

Check list of versions and find it empty
NewCR
Issue History
2010-06-11 18:56shuehnerNew Issue
2010-06-11 18:56shuehnerAssigned To => alostale
2010-06-11 18:57shuehnerTag Attached: NewCR
2010-06-11 18:58shuehnerNote Added: 0028317
2010-06-14 13:01iciordiaStatusnew => acknowledged
2010-06-23 11:58alostaleProjectOpenbravo ERP => Modules
2010-06-23 11:59alostaleCategoryA. Platform => Central Repository
2010-06-23 13:43hgbotCheckin
2010-06-23 13:43hgbotNote Added: 0028696
2010-06-23 13:43hgbotStatusacknowledged => resolved
2010-06-23 13:43hgbotResolutionopen => fixed
2010-06-23 13:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/8a594b7f0e9f178b0319ab698e158dc66c7de85d [^]
2010-07-08 17:32marvintmNote Added: 0029166
2010-07-08 17:32marvintmStatusresolved => closed

Notes
(0028317)
shuehner   
2010-06-11 18:58   
Note: The code building the JSON in Grid.java of the CR code is the one place building JSON manually using STrings instead of a json-parser/generator.

This together with special characters used in the json-data for this url could be the cause of this problem.
(0028696)
hgbot   
2010-06-23 13:43   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: 8a594b7f0e9f178b0319ab698e158dc66c7de85d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jun 23 13:41:58 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/8a594b7f0e9f178b0319ab698e158dc66c7de85d [^]

fixed bug 13633: Version List in ModuleTab page of forge sometimes does not show any versions

Use JSONObject to generate the JSON response instead of doing it manually.

---
M src/org/openbravo/utility/centralrepository/grid/Grid.java
---
(0029166)
marvintm   
2010-07-08 17:32   
Fix looks correct. I can see the rows of every version of the module in the grid without problems.