Opened 7 years ago

Closed 7 years ago

#104 closed enhancement (wontfix)

When setting default field name, id should prevail on field_ref

Reported by: ssenesi Owned by: ymipsl
Priority: minor Component: XIOS
Version: 2.0 Keywords: default name, name reference,


When writing :

<field id="oddust" field_ref="od550dust" ... />

Field "oddust" get the same name as field "odd550dust"

When writing

<field id="oddust" domain="dom1" >

field "oddust" has name=id="oddust"

I beliewe that most users expect that the latter behaviour applies in the first case

Change History (2)

comment:1 Changed 7 years ago by ymipsl

The "name" attribute is automatically inherited from group parent or reference, like the other attributes. If you want to avoid this, you must overload the "name" attribute of the children.
'Id' is supplying the "name" attribute at header file creation when it is missing. It is just a facility to avoid redundant "id" and "name".

We don't plan at shorter term to modify this behaviour.


comment:2 Changed 7 years ago by mhnguyen

  • Keywords default name name reference added
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.