tracker issue : CF-3741397

select a category, or use search below
(searches all categories and all time range)
Title:

cfgridcolumn : the mask attribute is not honored.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Piyush Kumar Nayak)

Created: 04/11/2014

Components: AJAX, UI Components

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 289739 /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Listed in the version 11.0.03.292480 Issues Fixed doc
Problem:
cfgridcolumn : the mask attribute is not honored.

Method:


simplified test case:
<!--- replace the mask attrib in the test below with: "m/d/Y","d/m/y","d/m/Y","j/n/y","j/n/Y","Y-m-d H:i:s","Y-m-d","n/j/Y" --->
<cfform>
	<cfquery name="q" datasource="ajax">
		select * from employees
	</cfquery>

	<cfgrid name="g" format="html" query="q" width="500" selectmode="edit">
		<cfgridcolumn name="firstname" >
		<cfgridcolumn name="lastname" >
		<cfgridcolumn name="location" >
		<cfgridcolumn name="startdate" mask="Y-m-d H:i:s" width="150" type="date">
	</cfgrid>
</cfform>

Result:
data displayed in first row, date col.:
04/19/05

Expected:
2005-04-19 00:00:00
as is the behavior in CF10.

Workaround:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3741397

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Hi Piyush, I've verified this is fixed in CF11 Update 3 (11,0,03,292024(PreRelease)). Thanks!, -Aaron
Comment by External U.
12681 | November 08, 2014 02:15:32 AM GMT