Ticket #303 (closed defect: fixed)

Opened 18 years ago

Last modified 16 years ago

/include/value[@overwrite] does not default to true

Reported by: DanWilson Owned by: somebody
Priority: high Milestone: 3.0
Version: Severity: blocker
Keywords: Cc:

Description

The modelglue documentation states the default value for the overwrite attribute of /include/value tag is true. Testing proves that it is not so.

The default behaviour is overwrite=false.

The problem seems to be on line 145 of /Core/XMLModelGlueLoader.cfc

<cfparam name="configXml.views.xmlChildren[i].xmlChildren[j].xmlAttributes.overwrite" default="false">

Should be

<cfparam name="configXml.views.xmlChildren[i].xmlChildren[j].xmlAttributes.overwrite" default="true">

Change History

Changed 16 years ago by DanWilson

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 3.0

While I disagree with this choice, it has been in place WAY too long to change it. I updated the documentation to reflect the correct default.

Note: See TracTickets for help on using tickets.