Upgrade from ColdFusion6 to Cold Fusion8 -- Required Code Changes

Hi ,
We recently upgraded to CF8 from CF6. SOem of the functionalities are not working as expected.
For Eg: if we click on the button it shoudl tak eus  to other page ,but after upgrade its staying in the same page.
I suspect <cfform> tag method attribute. we are using method attribute with "Get" method. Not sure how to fix the issue.
Can any body help on that how can we find what are the required chanegs we need to make in the code so that it will compatiable with CF8?
Is there any way to run the whole code and see required changes? I know the code analyzer it is just fid the syntax errors. i feel that it didn't help me much.
Regards
sudha.

As a thumb rule, if a HTML form is meant to make any "changes" to any data, backend, etc., you should always use the POST method. Only in cases where the form post simply fetches a page without altering anything anywhere, GET can be justified.
When using GET, form values may get transported into the URL scope.
Debug the URL and FORM scope for the variables which dictate the action that happens.
Another thing to check, if you still have problems when using POST instead of GET:
What is the exact target page you're posting to, _with_ url parameters? Does it have url parameters?
In addition, does the form have hidden fields which could have the same parameters?
It's a typical mistake to accidentally have a page "page.cfm?area=3&action=get", having also a hidden input "get" with some other value, and posting the page to itself with all current url parameters. The url value of "action" may override the one coming from the form.
I faintly remember the behaviour of ColdFusion changing at some point, when this happens.
-Fernis - fernis.net - ColdFusion Developer For Hire

Similar Messages

  • Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without

    Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without fouling everything up?

    Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
           try {
                Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                Connection c = DriverManager.getConnection(
                                                           "jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
                Statement Stmt = c.createStatement();
                int count = Stmt.executeUpdate(cmd);
                if(count>0) {
                     System.out.println("count: " + count);
            } catch (Exception e) {
                e.printStackTrace();
        }That was some sample code for a MySQL database.
    Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
    Hope this is helpful.

  • Upgrading from 1.4 to 6 - some code doesn't compile.

    Hi all, I've just upgraded from version 1.4 to 6. I tried compiling a few classes and I'm getting errors (it previously compiled fine under 1.4).
    Any idea how I can get the errors below fixed?
    I've checked the version 6 api and it doesn't contain the servlet classes that I require:
    import javax.servlet.http.*;
    import javax.servlet.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    Here's a few errors:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:11: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:12: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:13: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:14: package javax.servlet.jsp.tagext does not exist
    import javax.servlet.jsp.tagext.*;
    ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:18: cannot find symbol
    symbol: class BodyTagSupport
    public class HtmlCalendar extends BodyTagSupport{
    ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:31: cannot find symbol
    symbol : class JspTagException
    location: class com.javacomponents.HtmlCalendar
         public int doStartTag() throws JspTagException{
         ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:36: cannot find symbol
    symbol : class JspTagException
    location: class com.javacomponents.HtmlCalendar
         public int doEndTag() throws JspTagException{
         ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:33: cannot find symbol
    symbol : variable EVAL_BODY_TAG
    location: class com.javacomponents.HtmlCalendar
              return EVAL_BODY_TAG;
              ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:38: cannot find symbol
    symbol : class JspWriter
    location: class com.javacomponents.HtmlCalendar
              JspWriter out = pageContext.getOut();
              ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:38: cannot find symbol
    symbol : variable pageContext
    location: class com.javacomponents.HtmlCalendar
              JspWriter out = pageContext.getOut();
              ^
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\calendar\WEB-INF\classes\com\javacomponents\HtmlCalendar.java:97: cannot find symbol
    symbol : class DateCorrection
    location: class com.javacomponents.HtmlCalendar
                             DateCorrection dc = new DateCorrection();
    Cheers in advance,
    MM

    Can you please show me exactly what I need? I've tried downloading a couple of things:
    Java EE SDK 5 Update 2 No JDK
    and
    Java EE 5 SDK Update 2 (with JDK)
    Both times I got an application server installed and I couldn't use Tomcat.
    I thought this would be easy to sort out. What exactly do i need to do?
    Cheers again,
    MM

  • Upgrade from 4.6C to ECC 6.0 - change text of infotype 0002 screen

    Hello Guru,
    My client is upgrading from 4.6C to ECC 6.0. In 4.6C the field RUFNM text in infotype screen for 0002 is "Know As"  where in ECC 6.0 is now "Nickname". The field is P0002-RUFNM? If I want to change the text in ECC 6.0 from 'Nickname' to "Know As". What is the best option? Modify the screen? or change the Data element? or any better way?
    Thanks

    Hi Bob,
    To change the Field Text, Data Element would be the better option.
    Good Luck
    Om

  • HP Pavilion dv6 Windows 10 upgrade from Windows 7 Home Prem; Error code 0xC1900101

    Have been trying to upgrade to Windows 10 (from Windows 7 Home Prem 64 bit). However, the upgrade fails showing an error code 0xC1900101. Tried uninstalling MCafee Antivirus and upgrading, but that fails too. Also, checked and installed all 'other' available system updates and tried. But no luck.During the installation process, the failure occurs when the system has finished copying and is in the process of installing drivers (that is, after the second restart). I have noticed that the 'installing drivers' process was also almost 90% complete. Once the second restart process begins, the system hangs and processor keeps running (and so does the cooling fan, at its highest speed). Earlier, had heating problems which used to hibernate my system during this process, but have fixed that now. And I get this new error message (in the subject above).Guess, the issue occurs when the system is trying to install drivers or when it is trying to upgrade its configuration. Need help!

    I dunno if this is related but I had an error as well during the upgrade on an HP DV5. You can find more information on the error if you analyze the dump file (.dmp) found in the Windows.BT folder right after the upgrade fails. You can use a utility like BlueScreenView. In my case, the upgrade crashed at around 75% of the total process (when configuring settings). Analyzing the dump file showed that the error was caused by a driver named 000.fcl, related to Cyberlink and their DVD player. Turns out this is used in the HP QuickPlay feature. After removing HP Quick Play, the upgrade proceeded as normal. Hope it helps anyone with a similar problem !

  • Upgrade from 3.1 to 4 time zone changes BE AWARE

    When I did the update from 3.1 to 4 it changed the time zone
    I live in the UK it changed the time zone to Europe which is 1 hour ahead of the UK
    BE AWARE OF THIS

    Sounds like a user issue since no others have reported it.
    Is the timezone on your computer set correctly?

  • Upgraded from ios4 to ios5 and want to change back!!

    Hi everyone.
    I did the stupid thing and upgraded to ios5 and it was the worse thing I ever did! My apps are so slow and so is everything else.
    Can someone please explain (in simple terms) how I can restore it back to iso4????
    heidi

    On your iPhone tap Settings > iCloud.
    Make sure Photo Stream is swtiched on.
    If necessary, you can Reset your Photo Stream

  • Missing Snippet Descriptions (upgraded from RH7 to RH9)

    Hi all,
    I've pretty much successfully upgraded my RH7 project to RH9. I only noticed two problems, one of which is the subject of this thread - the descriptions for each of my snippets isn't displaying. It looks to me like this problem has something to do with the way descriptions were previously stored (in a title tag for RH7 and lower versions?) versus the way the descriptions are now stored (in a meta tag, i think, for RH8 and higher versions?).
    I took a look at the hts file for one of my snippets that was upgraded from RH7 to RH9. The code looks like this (I've bolded the snippet description):
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Adobe RoboHelp 9" />
    <title>Use this text above the table that explains Action menu items.</title>
    </head>
    <body>
    <p style="margin-top: 2pt; margin-bottom: 2pt;">Select an action from the
    menu and click Go. </p>
    <p style="margin-top: 2pt; margin-bottom: 2pt;">&#160;</p>
    <p style="margin-top: 2pt; margin-bottom: 2pt;"><span class="NoteTitle">Note:</span>
    The Action menu may change depending on the content, the content's status,
    your permissions and what you have already accessed. Therefore, the options
    explained below may not all be available at the same time.</p>
    </body>
    </html>
    THEN, I created a brand new snippet in RH9. The code looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="topic-comment" content="this is a new test snippet" />
    <title>New Snippet</title>
    <meta name="generator" content="Adobe RoboHelp 9" />
    </head>
    <body>
    <p>This is placeholder text for your snippet. To add content to the body,
    replace this text. </p>
    <p>&#160;</p>
    <p>For information about applying snippets to topics, press <b>F1</b>.</p>
    </body>
    </html>
    Notice how the description for the brand new snippet starts with "<meta name" but for the snippet that was created in RH7 (and then automatically upgraded by RH9), the description for the snippet starts with "<title>".
    I have 101 (exact count) snippet files and would hate to have to go into each one and modify this line of code myself, so my question is this:  Does anybody know a good, faster way to 'upgrade' all of my hts (snippet) files to follow the new RH9 format?
    Here are two things I've tried:
    1. Using TextPad, I manually made the change in the .hts file. Result: The description still does not display in the Description column in the Snippets pod (on the left in the screenshot below), but it DOES display in the Snippet Properties window (on the right in the screenshot below).
    2. Copying the description from TextPad, then opening the Properties window for the snippet and pasting the description into the Description field, and saving the snippet. This WORKS...but I'll have to do it 100 more times to fix all my snippets, AND the Title tag still ends up being incorrect.   Although things LOOK correct in the Properties window (i.e., the Name field indicates the correct name for the snippet, and the Description field now contains the correct description), here's the resulting code:
    <meta name="topic-comment" content="Use this text as the explanation for the Add To Cart Action menu option." />
    <title>Use this text as the explanation for the Add To Cart Action menu option.</title>
    So, the meta and title tags end up having the same values! The title tag should say "Add To Cart" - I don't know how it's possible that it doesn't contain this text as the value for the title tag. Thus, it seems like in order to get the descriptions in there correctly, I have to do a copy, then paste into the Properties window in RH9, but to correct the Title tags I have to open the .hts files in a text editor (i.e., *outside* of RH9) and enter the correct title text for each snippet. Is this really going to be this time-consuming to fix?

    Let's try again.
    First forget thinking in INCLUDE mode. Everything will be included unless you exclude it.
    Example.
    Topic 1 has tag A applied to the topic
    Topic 2 has tag B applied to the topic
    Topic 3 has tag A applied to some of the content (let's say to the word Redrabbit) but not the topic itself.
    Topic 4 has the tag A applied to the word Redrabbit and tag B to the word Greenrabbit but no tag on the topic itself.
    This is how it should work.
    Topic
    Topic tag
    Text tagged
    Expression Not A
    Expression Not B
    Expression Not A and Not B
    Header 6
    1
    A
    Topic will be excluded
    Topic be in output
    Topic will be excluded
    2
    B
    Topic be in output
    Topic will be excluded
    Topic will be excluded
    3
    None
    Redrabbit is tagged A
    Topic will be in output but the word Redrabbit will be excluded
    Whole topic will be in output including the word Redrabbit.
    Topic will be in the output but the words Redrabbit and Greenrabbit will be excluded.
    4
    None
    Redrabbit is tagged A and Greenrabbit is tagged B
    Topic will be in output but the word Redrabbit will be excluded
    Topic will be in the output but the word Greenrabbit will be excluded.
    Topic will be in the output but the words Redrabbit and Greenrabbit will be excluded.
    Below is the expression dialog.
    Here I have selected from Available Tags and put them in Exclude.
    Click Advanced and you will see how RH writes the expression.
    Written like that, does it now work for you?
    See www.grainge.org for RoboHelp and Authoring tips

  • Can you upgrade from CS5 Production Premium to CS6 Master Collection?

    I have the student edition of CS5 Production Premium suite and Adobe Acrobat X Pro for Windows and I was wondering if there was a way to upgrade it to the CS6 Master Collection. If there is, how much would it cost? I would like to get InDesign and Dreamweaver. Or would it be easier to try to buy the two programs separate?

    I saw that before, but I wasn't sure if it was an upgrade from the CS5 Master Collection or just anything CS5. Shouldn't the upgrade price vary depending on what collection of programs you have? Like shouldn't upgrading from the CS5 Master Collection be cheaper than upgrading from CS5 Production Premium? Will it change if I try to order it?

  • I currently have the iPhone 4 and want to upgrade to the 5S, but would that require a change of plan?

    Im not sure if it would cause a 3G to 4G change?

    The data plan is the whether or or not you have a 3G or 4G phone. However if you have the unlimited data plan and want to upgrade under contract, you will be required to change the data plan to a tiered data plan.

  • Upgrade from JDK 1.2.2 to JDK 1.4.2. Any code changes required?

    Hi,
    We are in the processes of upgrading the JDK versions on servers to JDK 1.4.2 to support other software upgrades.
    The JDK versions on each of the servers are at different versions. On one of the servers, the version of JDK is currently at JDK 1.2.2_10. Can somebody please advise me if there would be any code changes required to support this upgrade (such as some methods being depreciated)?
    We are also evaluating if we need to upgrade to JDK 1.4.5. In such a case, would there be any code changes required to upgrade from JDK 1.4.1_x to JDK 1.4.5. I assume there wouldn't be any changes for this minor upgrade but just want to confirm.
    I would really appreciate an early reply.
    Thanks in advance.
    Regards,
    Vamshi

    "1.4.5" - you meant "1.5" ? :)
    About deprecations -- you will be warned by the compiler. E.g. "assert", "enum" are keywords and cannot be used as method names.
    The rest depends on your application. The more complex it is, the more differences can be encountered. You certainly need to run a test cycle for it with the new platform.
    From my experience, I can list some issues that I have read about or have experienced myself:
    1) serialization: the algorithm used to calculate the serialVersionUID had some changes between Java versions, due to compiler-added extra methods.
    If you don't have serialized instances, or your serialVersionUID is specified explicitly, you are safe.
    2) class loading order can be different in different platforms
    Once ago I have seen a paper from BEA Systems highlighting some open topics that can arise when migrating between different vendor's JVMs. Probably, it is the one:
    http://edocs.bea.com/jrockit/geninfo/devapps/codeprac.html
    In my friend's case, there was some class-initialization logic, that behaved differently when class loading order changed.
    3) Swing applications can sometimes behave slightly different.
    E.g., I observed some changes in focus handling, although minor ones. Fixed with several lines of code.
    4) Some libraries can depend on particular J2SE version. E.g. J2EE ones.
    E.g. I was not able to run J2EE 1.4 thick client application with JRE 1.5. The j2ee library used by the app either had some dependencies on sun.* classes, or on some protocols (not sure, I don't remember it well).
    5) Regression bugs are sometimes encountered. I.e. something that worked, does not work now.
    Summary: You need testing.

  • ABAP Code Changes During Upgrade from 4.7C to ECC6

    Hi all,
    I'm in process of collecting information for our next upgrade.
    We are on 4.7C and are planning to upgrade to ECC6. We wanted to know what changes shall be required on ABAP side during this upgrade. e.g. certain ABAP commands which are obselete, few tables , few fucntional modules being obselete.
    Any specific functional areas/transcation codes being obselete which in turn would make Uer Exit redudant etc.....
    Could somebody please help me out with some info regarding this upgrade? Some links or any hint you can give would help me a lot. (Whether technical or functional..all very welcome!).
    Thanks in advance
    Moderator message: topic too broad to be answered in a forum thread, many people had to go through this, please search for available information/documentation.
    Edited by: Thomas Zloch on Jun 14, 2011 9:31 AM

    Hi ,
    I too got an error of this type .
    The resolution is as follows :
    login as user SAP<SID> in the oracle database .
    SQL> drop tabel <tablename>;
    Restart the upgrade from PARMVNT_SHD phase.
    Regards
    Ratnajit

  • 10.2.0.3 upgrade to 11.2.0.3  - code changes required?

    Hi,
    I'm soliciting general comments regarding experiences when upgrading from OWB 10g to 11g. After running the upgrade utility we have noticed numerous mapping sql code differences between 10g and 11g.
    My questions for forum participants are:
    1. Have you seen sql code differences after upgrading to 11g or is there a way to avoid this? (We would prefer to generate the same sql).
    2. Have mapping re-writes been required post upgrade to generate 11g sql that produces the same result set and record count as 10g generated sql?
    3. Have you noticed any mapping performance variation (run time) after upgrading to 11g?
    Thanks for any insight,
    -Tim

    Which is the best approach for upgarde ?
    APPS - 12.0.6
    DB - 10.2.0.3
    My DB Size is 400GB
    1. DBUA
    2. Export / Import utility
    3. SQL Copy
    Client cannot afford downtime .. we are getting approx 6 hrs to complete the task in PROD.DBUA should be the fastest one.
    What is the approx time reuired?Depends on many factors (hardware resources, size of the database, ..etc). Please try this in a test instance to estimate the time it requires to do this upgrade.
    Thanks,
    Hussein

  • I have just upgraded from Elements/Premiere elements 11 to version 12. I am running on a PC with Windows 7. When I try to run video from the existing catalogue or video newly imported I get a window stating "....system does not have the required compresso

    I have just upgraded from Elements/Premiere elements 11 to version 12. I am running on a PC with Windows 7. When I try to run video from the existing catalogue or video newly imported I get a window stating "....system does not have the required compressor/decompressor (codec) installed" Where has it gone? Where do I get a new one? I am getting REALLY REALLY fed up with trying to find an answer!!!!!!!!

    Try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Upgrading to Boot Camp 5.0 from 4.1: Would it require a re-install of Windows (Win7 SP1)?

    I have a Late 2012 Mac Mini (OS X 10.8.3) with Boot Camp 4.1 and Windows 7 SP1 installed. I mainly work on Win7 and would like to continue doing so. My question is: Would upgrading to Boot Camp 5.0 require me to re-install my Win7 or does it work like a simple update? I certainly do not want to waste any time having to re-install my copy of Windows and all my content as it is working fine, but would like to install the latest Boot Camp drivers if it is no problem doing so.

    Thanks mate, update to Boot Camp 5.0 done! Had a issue at first which didn't let me run the update, but this was resolved by downloading (from Apple's support website) and re-installing my (now previous) BC4.1 drivers again. Think it has something to do with the previous BootCamp.msi file that allows the BC4.1 drivers to be uninstalled first before updating to BC5.0. Got that tip from a diffrent question thread on the support website. Anyway, thereafter running the BC5.0 update was no problem. Takes a little while for everything to get fully updated on the next restart, but all good. Cheers. 

Maybe you are looking for

  • Addition of New column to Vendor Overview on Shopping cart Source of supply

    Hi All, I have a requirement where I need to display Contract description,price in Vendor overview table of Shopping cart Source of Supply. Currently I can see the  Name ,Vendor , Contract  Item,  Pur.Info Record, In Vendor List  , but I also have to

  • SQL Server excuteBatch() problem....

    Hi All, I am trying to Bulk insert using addBatch() and excuteBatch() which works fine. The problem I am facing is, when I am inserting 50 queries in excuteBatch(), even one of them fails, ( due to some foriegn key violation ) whole process stops. Ca

  • Apple TV wifi speakers

    Can I stream visual to my TV using apple TV and sound to wifi speakers at the same time. This is easy for itunes, but for browser stuff like iplayer can this be done?

  • How to unlock photos on PC from photo stream

    How to unlock photos frm PCM that was from photo stream

  • Conversation Vertical not pulling any results from My Sites

    My conversation vertical is not pulling any results from My Sites newsfeed posts ('Nothing here matches your search'). It is however pulling discussion list items from team sites.  Additionally people vertical works as it should (I can search people