add new task       

Task ID:  4155  CottonUI cannot add new cultivars via the component UI grid    
 
Created by joh491 on 2016-05-06 9:04 AM, 744 days ago
Project:  User Interface
Category:  Bug
Priority:  [no priority]
Assigned to:  [not assigned]  
Status:  closed
Apsim Version:7.8
Your Name:
Contact Details:
 
 

show inline images      show change history

 email 40381 sent to John Hargreaves <jng.hargreaves@icloud.com> by joh491 on 2016-05-06 4:51 PM, 744 days ago 
Subject: CottonUI cannot add new cultivars via the component UI grid (DO NOT EDIT THIS:4155)

Hi John,

This issue has been resolved.  Patched version of APSIM created this afternoon.

Affected only the CPIUserInterface.dll.

 

Regards

David

 comment 40380 posted by joh491 on 2016-05-06 4:47 PM, 744 days ago 

Problem was that the CottonUI grid was creating two "cultivar" nodes in the init section for Cotton in the .apsim SDML.

When the .apsim file was reloaded, or the init section read again to repopulate the grid, the added cultivars were discarded and the original init section was used (second "cultivars" node in the XML document).

Problem rectified by storing only the updated "cultivars" node.

 comment 40377 posted by joh491 on 2016-05-06 9:04 AM, 744 days ago 

Cannot add new cotton cultivars via the CottonUI component grid.

Reported by John Hargreaves for Pakistan AgMIP users