deanlaw / cfcgenerator

Automatically exported from code.google.com/p/cfcgenerator
8 stars 6 forks source link

getTables Failure #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install application (including the /cfcgenerator mapping)
2. Visit http://localhost/cfcgenerator

What is the expected output? What do you see instead?
I expect to see the datasource names in the drop down box. Instead I get
the following error in Flex from the getTables request ....

"The value returned form function getDatasource() is not of type
cfgenerator.com.cf.model.datasource.datasource."

What version of the product are you using? On what operating system?
Windows XP, Apache, MX7 (same errors with PWS)

Please provide any additional information below.

Original issue reported on code.google.com by sfitchet2@gmail.com on 29 Jan 2007 at 7:23

GoogleCodeExporter commented 9 years ago
Note: the getProjectTemplates method completes successfully.

Original comment by sfitchet2@gmail.com on 29 Jan 2007 at 7:43

GoogleCodeExporter commented 9 years ago
Upon loading the Flex UI, getTables is being called without passing a DSN name.

Original comment by sfitc...@gmail.com on 29 Jan 2007 at 9:30

GoogleCodeExporter commented 9 years ago
Is the dsn drop down being populated? If so, it should pass the first item on 
that list.

Original comment by brian.ri...@gmail.com on 16 Feb 2007 at 3:18

GoogleCodeExporter commented 9 years ago
Occurs the same error with me. DSN combo box shows me my DSN but doesn't 
populate
Table combo box. What's happened? Using CF 7.0.2/XP SP2/IIS

Original comment by marcoacs...@gmail.com on 27 Feb 2007 at 11:57

GoogleCodeExporter commented 9 years ago
I am updating the coldfusion page that I have in /com/cf/model/ to test the 
initial
calls for getDsns() and getTables() so that we can better debug what issue is 
going
on here. This will be committed to SVN this weekend.

If these both function properly as straight CF calls, then the issue here is 
with
Flex/CF connectivity - which would be outside the scope of my project.

Original comment by brian.ri...@gmail.com on 9 Mar 2007 at 8:48

GoogleCodeExporter commented 9 years ago
The new test page has been committed to SVN. Anyone encountering this error 
please
run it and send me any error information. If there is some consistent issue 
that can
be fixed I will obviously do so.

Original comment by brian.ri...@gmail.com on 9 Mar 2007 at 11:56

GoogleCodeExporter commented 9 years ago
A recent tester using the test.cfm file has indicated that his issue was 
related with
pulling an old version that had some references to cfcgenerator. This was 
caused by
some confusion about which was the correct download. That has been corrected. 
Also,
the current download and svn copy do not have the incorrect naming references.

Also, the tester indicated that he is using MySQL 4.1. Changes have been 
committed to
support 4.1 but they are not yet in the download.

I believe these corrections should resolve this lingering issue. If the current
download or svn copy still has this issue, please re-open.

Original comment by brian.ri...@gmail.com on 10 Mar 2007 at 5:20