Bug in cfspreadsheet "update"?

To those with experience with <cfspreadsheet>, I’d really appreciate your feedback. I’m trying to use the cfspreadsheet tag to generate a two page spreadsheet based on the output of two database queries. SheetOne uses "qryTopicList" and SheetTwo uses "qryTopicDetails".
Here's my code:
<cfscript>
// create empty spreadsheet objects
sheetOne = spreadsheetNew("topicList", "true");
sheetTwo = spreadsheetNew("topicDetails", "true");
// populate spreadsheet objects from queries
spreadsheetAddRows(sheetOne, qrytopicList);
spreadsheetAddRows(sheetTwo, qrytopicDetails);
</cfscript>
<!--- Write the two spreadsheet objects to a single file. --->
<cfspreadsheet action="write" filename="#theFile#" name="sheetOne" sheetname="Topic List" overwrite="true" />
<cfspreadsheet action="update" filename="#theFile#" name="sheetTwo" sheetname="Topic Details" />
When I run this code, I get an error:
java.lang.IllegalArgumentException: The maximum column width for an individual cell is 255 characters.
I tracked the error down to the last line of my code which adds sheet 2. I found that the query “qrytopicDetails” has columns with more than 255 characters in them. But I know that Excel is not limited to 255 characters per cell, so I thought this might be a java/POI/ColdFusion limitation. But then I reversed the sheet order and it worked:
<cfspreadsheet action="write" filename="#theFile#" name="sheetTwo" sheetname="Topic Details" overwrite="true" />
<cfspreadsheet action="update" filename="#theFile#" name="sheetOne" sheetname="Topic List" />
So, it seems that cfspreadsheet is able to "write" a column with more than 255 characters but cannot "update" if the query contains more than 255 characters. Is this a bug or am I missing something?

Yeah, it's a bug.  Well, indeed, I can see two bugs here.
Here's a more portable repro case:
<cfparam name="URL.length" type="integer">
<cfparam name="URL.xml" type="boolean">
<cfscript>
    qrytopicList = queryNew("col1");
    queryAddRow(qrytopicList);
    querySetCell(qrytopicList, "col1", "xxx");
    qrytopicDetails = queryNew("col1");
    queryAddRow(qrytopicDetails);
    querySetCell(qrytopicDetails, "col1", repeatString("x", URL.length));
    // create empty spreadsheet objects
    sheetOne = spreadsheetNew("topicList", URL.xml);
    sheetTwo = spreadsheetNew("topicDetails", URL.xml);
    // populate spreadsheet objects from queries
    spreadsheetAddRows(sheetOne, qrytopicList);
    spreadsheetAddRows(sheetTwo, qrytopicDetails);
    if (URL.xml){
        extn = "xlsx";
    }else{
        extn = "xls";
    theFile = expandPath("./test.#extn#");
</cfscript>
<!--- Write the two spreadsheet objects to a single file. --->
<cfspreadsheet action="write" filename="#theFile#" name="sheetOne" sheetname="Topic List" overwrite="true">
<cfspreadsheet action="update" filename="#theFile#" name="sheetTwo" sheetname="Topic Details">
This code breaks when one specifies "?length=267&xml=true" on the query string.  It's fine, however, with "?length=267&xml=false".
So the first bug is that it breaks at all.  The second is that it's reporting 255 as some sort of significant number whereas that's not the error boundary.  And, yes, before anyone starts, I know the significance of 255, but it's not relevant to the problem here.
As to whether it's CF or POI: dunno.
You should raise a bug though.
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html
Adam

Similar Messages

  • My JPEGS are no longer being copied over to Finder.  Only a random fraction are copied.  It use to work perfect.  Is there a bug in the updated versions of iPhoto?

    My JPEGS are no longer being copied over to Finder.  Only a random fraction are copied.  It use to work perfect.  I can move them 4 or 5 at a time, but it is very time consuming.    Is there a bug in the updated versions of iPhoto?

    OK - here is what I've done in the past.  As I want to be able to save my photos on  a DVD that can be read by both a PC and a Mac, I am burning them in Finder.  I start by downloading into IPhoto.  I'll flag and edit the ones I want to print or post to the web.  After that I want to take all the keepers and move them from IPhoto to various files I create in the document  section of Finder.  I've done it both ways in the past, copy and paste or just drag over, all the files would transfer over.  Now there may be dozens of pictures that do not move over - very random, in one case there were only 6 photos and the 3 vertical ones did not copy over.
    I'm wondering if this is a software issue or if there is just too much data being moved around.  FYI there are 2 Nikon cameras I use and the files from both do this.
    Thanks

  • Lumia 1020 Windows Key bug after Denim Update

    Hey guys,
    I recently updated my WP 8.1 OS to Lumia Denim. Looks like there is a serious bug in the update. Sometimes when an application is open like messages, whatsapp, cortana search and then when you click on windows button, instead of going to home screen the application is refreshing. Its really annoying. Please let me know how to fix this issue.
    I have recorded the issue I am facing. Please check the video here. 
    http://youtu.be/On5WDRLUj0U
    Phone : Lumia 1020
    Application version: 3.14.6.2
    Build Creation Date : 12-02-2015
    Developer account : No
    Thanks,
    ssckm1087

    Hi, ssckm1087. Welcome to Microsoft Mobile Community. Have you tried checking if there is any update on the phone's system apps? You may try doing it by going to Store > ... > settings > check for updates. If this did not work, try performing the workarounds provided on this link: My phone does not work or respond as expected. Let us the outcome. Link is intended in the Philippines but it still helpful. 

  • How can I turn off the message that keeps bugging me to update to Firefox 6.0?

    How can I turn off the message that keeps bugging me to update to Firefox 6.0? Given the problems and incompatibilities with 5.0 I have no intention of upgrading until it's absolutely necessary!

    Settings>General>Accessibility>Voice Over change to off.
    PJRS

  • [svn:fx-trunk] 9661: Compiler optimized FXG 2. 0 bug fixes and updating to latest FXGUtils.

    Revision: 9661
    Author:   [email protected]
    Date:     2009-08-26 13:26:12 -0700 (Wed, 26 Aug 2009)
    Log Message:
    Compiler optimized FXG 2.0 bug fixes and updating to latest FXGUtils.
    From FXGUtils:
    Width and height attributes are now allowed on RichText.
    The textRotation attribute is now supported.
    Simple fix to recognize the paragraphEndIndent attribute.
    Added support for resizeMode in BitmapGraphic.
    From MXMLC: Simple fix to get tag for static FXG.
    Partially Fixed Bugs:
    SDK-22846 - Compiled FXG text with subformatting loses some text, colors, etc.
    SDK-22855 - tags don't work in static FXG content
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22867
        http://bugs.adobe.com/jira/browse/SDK-22852
        http://bugs.adobe.com/jira/browse/SDK-22846
        http://bugs.adobe.com/jira/browse/SDK-22855
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexParagraphNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexSpanNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexTextGraphicNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGConstants.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/CDATANode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/TextGraphicNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/TextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich ParagraphNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextLeafNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/DivNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/LinkNode.jav a
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/ParagraphNod e.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TCYNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/text/AbstractTextNode .java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGVersionHandlerRegi stry.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ImageHelper.java
    Added Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/types/TextRotation.ja va

  • Battery running down fast using Yosemite, running the latest update 10.10.2. I think there is bug in this update. Please help me out or is there a way can i switch back to mavericks and how

    Battery running down fast using Yosemite, running the latest update 10.10.2. I think there is bug in this update. Please help me out or is there a way can i switch back to mavericks and how

    1. Check the cycle count of the battery against the rated life for your model. The battery may be due for replacement. If the power adapter is connected almost all the time, the battery may need replacing even though the cycle count is not too high.
    2. Follow these instructions, or these for OS X 10.8 or earlier.
    3. In the Energy Saver preference pane, uncheck the box marked
              Enable Power Nap while on battery power
    if it's shown (it may not be.)
    4. You can also try resetting the SMC.
    5. Make sure your system is up to date in Software Update.
    6. Make a "Genius" appointment at an Apple Store, or go to another authorized service center.

  • Photoshop interop bug after installing update

    I recently updated to ACR 5.3.0 (along with a few other updates, I wish I could be more specific, and it would be nice if there were a way to keep track of updates and optionally remove them, like Windows has), and the message about Lightroom being ahead of ACR (with the option to render, etc) finally went away.  However, now there's a new problem.  When I select an image and do Edit in Photoshop CS4,  Photoshop opens up the photo, but Lightroom doesn't put it alongside the original image in the collection - it's now shown as being in a different folder even though it's saved to the same directory on disk.  Here's what it looks like - I "edit in photoshop"ed a photo, and it created this new "folder" that now contains the single photoshop-exported image.
    When I hover over them to see the location, the only difference is that the top one points to
    c:\users\theuser\documents\...
    and the second to
    c:\users\theuser\Documents\...
    When I do "show in explorer" on the single image, it brings up the correct directory (containing the other photos).
    Maybe an unnecessarily case-sensitive string comparison somewhere causing it?
    Either way, I'd love to know whether this is a known issue.
    Thanks,
    Vladimir

    vlad_b wrote:
    Has anybody else observed this?  Also, what is the right place to file and follow up Lightroom bugs?
    For some reason you have two folders with the same name, but one has an uppercase letter for the first letter. The problem has been reported before, but I don't recall anyone coming up with a consistent fix. I do notice that your folder names include a single Quote character ' Placing such characters in file names has in the past caused problems with Edit in Photoshop. So, removing them would be a good starting point for a possible fix.
    Bugs can be reported from the linked page https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • DOC BUG: Troubleshooting needs update

    Hi,
    one point of the section on "Troubleshooting" still needs an update for APEX 4.1:
    h3. A.3.1.1 Verifying If You Have a Previous Version of Oracle Application Express
    [url http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/trouble.htm#CIABDAAC]Link
    Command should be
    SELECT username FROM dba_users WHERE username LIKE 'FLOWS_%' or username in ('APEX_030200', 'APEX_040000');-Udo
    P.S.: To avoid confusion, I'd recommend to exclude the FLOWS_FILES which may be present in a failed APEX 4.1 installation even if there hasn't been a previous installation of an older APEX release, so the command would be as follows
    SELECT username FROM dba_users WHERE (username LIKE 'FLOWS_%' OR username IN ('APEX_030200', 'APEX_040000')) AND username != 'FLOWS_FILES';Edited by: Udo on 21.12.2011 11:36

    Hi Udo,
    thanks for the info. I have filed docu bug# 13524211.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • An age old bug - GarageBand not updating

    It is actually both iPhoto & GarageBand that are not being updated. The exact message is this:
    This update is not available.
    You must have previously purchased the item being updated. Tap Buy to purchase it now.
    which doesn't make much sense to me. Does it make sense to anyone else?
    So, I have just one apple ID with which I purchased everything. And iPhoto came with the laptop as a part of the iLife bundle. In other words, it is not a multiple apple IDs issue.
    Also, it's been more than 90 days since I bought my laptop, so no free Apple Care for me and I really don't want to pay them to fix this bug. I feel like that is exactly what it is - a bug.
    Finally, I browsed the forums for weeks now and I see that a lot of people have this exact same problem, but non of the solutions proposed worked for me. I even contacted the Apple support, App Store Support etc. etc., but they were not very helpful, meaning they just want my money and don't want to fix this issue for free, which I kind of naively expected them to do.
    And one more time, as stated in the title, I think it is an age-old bug in the App Store. I'm surprised it is taking Apple several months to fix it.
    Anyways, any help or words of support would be greatly appreciated.

     > Software Update
    does nothing I think.
    Though, GarageBand version is 6.0.4. Is that the latest stable version?

  • 5320 Bugged after failed update...

    As said...my phone is bugged after a failed update and its only showing "mode mode nokia" on the screen. Any solution to this?

    i got it, i tried on an other PC and now it done.,,.,

  • App Store update button displays bug message after updating, iOS 6.0

    In iOS 6.0, after updating an app in the App Store, a weird message appears on the update button.
    The button remains active giving the choice to update twice or more.

    Dude there are many bugs in ios 6 it is not safe to use.

  • Bugs with New/Updated content icons

    In the "My Subscriptions" page, there are two problems with the update icons on the left. Unless someone can prove me wrong or explain how this actually works, these look like bugs to me.
    When I list my subscriptions I see that some have the half blue icon. I understand that that is the "Updated" icon (as opposed to the "New content" icon) as the sole definition of what the icons mean is at the bottom of each post page and it clearly states:
    [Solid blue]: New content since your last visit
    [Half blue]: Updated content since your last visit
    When I click on a thread flagged with the half blue icon (from My Subscriptions) I expect to see that one or more posts have been updated, however *none of the post have the half blue icon*. This is problem #1.
    Once in the thread I do see one or more posts with the solid blue icon. Here's my second problem: if blue means "New content since your last visit" *why am I seeing posts for the second time flagged with the solid blue dot* ?

    AnalogKid17 wrote:
    In the "My Subscriptions" page, there are two problems with the update icons on the left. Unless someone can prove me wrong or explain how this actually works, these look like bugs to me.
    When I list my subscriptions I see that some have the half blue icon. I understand that that is the "Updated" icon (as opposed to the "New content" icon) as the sole definition of what the icons mean is at the bottom of each post page and it clearly states:
    [Solid blue]: New content since your last visit
    [Half blue]: Updated content since your last visit
    When I click on a thread flagged with the half blue icon (from My Subscriptions) I expect to see that one or more posts have been updated, however *none of the post have the half blue icon*. This is problem #1.
    Once in the thread I do see one or more posts with the solid blue icon. Here's my second problem: if blue means "New content since your last visit" *why am I seeing posts for the second time flagged with the solid blue dot* ?
    Hi,
    In the instance you give, it is because the TOPIC has been updated (half-blue) with a new (solid blue) POST. IIRC, when some one EDITs of of their posts then you may see the half-blue dot for that post.
    Ah, I was right, I just edited this post and it had a half-blue dot.
    Hope this helps.
    Message was edited by: romad
    Message was edited by: romad

  • [Bug] July 15th update ruined using the PS4 with XBR-55X850C...

    So the new July 15th update for Sony's 2015 Android TVs came with Dualshock 4 integration on the Home Screen and the new Playstation Now app. The bad part is that now it conflicts with using the Dualshock 4 for ONLY Playstation 4, not Playstation Now. Before this update, when there wasn't a new Dualshock 4 bluetooth pairing option for the TV there was no problems. So if I turn on my PS4. Switch to HDMI 1 which is the PS4 input. Then grab my Dualshock 4 controller and turn it on, a few seconds later I am brought to the Home Menu of the TV on the new Dualshock 4 Pairing settings page. I am asked to pair the controller with my TV (the TV not the PS4). If I say no I don't want to pair the DS4 with the TV as a secondary remote, then my DS4 will not turn on. I have to say yes for it to power on. When I pair it as a secondary remote for the TV and go back to my PS4 then there are a bunch of problems. With it paired, back on the PS4 HDMI 1 input the DS4 controller will register a few button presses on the DS4 controller as buttons/functions for the TV and PSNow app. So if I hold the Playstation button (on the PS4 HDMI 1 input) then instead of bringing me back to the Playstation 4 settings menu to (like power options to turn it off etc), I am instead now taken to the PSNow app on my TV home screen. So it changes input from HDMI 1 to the Home Screen and opens up the PSNow app...... If I press options while on my DS4 while on PS4's HDMI 1 input, instead of giving me the normal PS4 options menu, it instead opens up the TV's action menu. If I press on my DS4's touchpad it takes me to the TV Home Screen and also functions as a Back button for the TV..... This makes navigating the PS4 (opening games, using the options menu, closing games, turning off the PS4) impossible/confusing.  It's dissapointing to see this bug especially from Sony who makes this TV and the PS4 console. You would think they would check for compatibility conflicts before pushing updates to users. So I'm screwed out of using my PS4 until a new update comes out to fix this. Knowing the update schedule for the past few updates, that will probably take a few weeks.  Hopefully a community manager can forward this to the Sony TV team so they can patch this soon.  

  • LR5.3 bugging me to update to ACR 8.3

    So I install LR 5.3. Now every time I send a DNG to Pshop CC things grind to a halt as LR complains about not having ACR 8.3.
    But Pshop CC Update shows no ACR update available. (It's running 8.2.) Both Adobe Application Manager and Creative Cloud apps think everything is updated. There is no manual 8.3 updater.
    For that matter, my Premiere Pro is also outdated but AAM and CC apps claim it's up to date.
    What's going on? How can I get back to using your professional applications professionally, without these interruptions and bugs?

    From Jeff Tranberry's Digital Imaging Crawlspace Blog
    Direct links to the ACR 8.3 updates:
    Mac Version For Photoshop CC
    Windows Version For Photoshop CC
    Mac Version For Photoshop CS6
    Windows Version for Photoshop CS6
    The blog post has other useful info regarding keeping Photoshop and Camera Raw up to date...

  • Bug in Software Update?

    Running Mountain Lion OS X 10.8.5 (12F45), and App Store Version 1.2.2 (129.16).  The "App Store" app shows an available update in the Dock Icon (i.e. a 1 inside a red circle), but there is actually no applicable update to be downloaded.  Running "software update" does not clear this indicator.
    While this is hardly the most earth-shattering bug in the universe, perhaps the Apple folks will read this report and fix the problem.

    No joy.  Also deleted the plist file and rebooted.  Same result.
    When I run App Store (and when I "reload page") all it shows is the free upgrade to Mavericks, yet the dock icon shows one applicable update.
    Can this be that Apple is now counting Mavericks in the applicable updates?  Up until yesterday, this certainly was not the case.
    And, my wife's iMac, with one year newer hardware but nominally the same OS, does not display this anomaly.

Maybe you are looking for