tracker issue : CF-3525133

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

Add onMissingDatasource support to application.cfc

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/LowImpact

Reporter/Name(from Bugbase): David McGuigan / David McGuigan (David McGuigan)

Created: 03/19/2013

Components: Database

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7 64-bit

Vote Count: 1

Letting your application run specific code ( most likely the programmatic generation of datasources through the admin API ) when a missing datasource error files from any cfquery in your application.

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

Watson Bug ID:	3525133

External Customer Info:
External Company:  
External Customer Name: David Michael McGuigan
External Customer Email:  
External Test Config: My Hardware and Environment details:



Yeah, why not? It's a bit edge-case-y, but it's a reasonable idea. I wonder if there's scope here to have a onMissing[thing] approach which allows a callback to be defined to determine the missingness of themissing thing? This would make it more generic, perhaps? -- Adam
Vote by External U.
15974 | March 19, 2013 07:24:58 PM GMT
Can you please provide more information related to this enhancement? Regards, Nimit
Comment by Nimit S.
15971 | June 26, 2013 05:44:24 AM GMT
@David: What information do you expect in the callback and how exactly this function suppose to work? Can you provide the elaborated use case.
Comment by Nimit S.
15972 | November 13, 2013 02:15:07 AM GMT
We have not heard anything back about the use cases and It looks like an edge case. Hence, closing this bug. However, if we get sufficient requests for this enhancement, then we can re-consider this enhancement.
Comment by Nimit S.
15973 | December 03, 2014 02:33:17 AM GMT