Announcement

Collapse
No announcement yet.

12204 Incorrect error message

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • chrisjj
    started a topic 12204 Incorrect error message

    12204 Incorrect error message

    If I use "Move to folder" on a file of the same name as a folder in the destination folder, BC says

    The target folder already contains a file named 'test'.

    even though there is no such file.

  • Lutz
    replied
    Thanks Michael for clarification, I could reproduce this behavior.
    I did my test by moving only one file or one empty folder, so WE didn't show Skip, which only makes sense in multiple file/folder operations.

    Greetings Lutz

    Leave a comment:


  • Michael Bulgrien
    replied
    Originally posted by Lutz View Post
    The messagebox choices are like Retry/Try Again and Cancel (@Michael: Where did You see Skip?).
    My Windows Explorer test under Windows 7 was to move a folder containing a file to a target location that held a folder of the same name as the folder I was moving.

    The first dialog box was a move confirmation:
    This destination already contains a folder named 'Foldername'... Do you still want to merge this folder...with this one... Yes / No

    I clicked Yes. The folder I moved contained a file that had the same name as a subfolder to the destination folder being merged into. When the move was attempted on that file, I got the second dialog with the Try Again / Skip / Cancel buttons. There was also a [ ] Do this for all current items checkbox at the bottom of the dialog.
    Last edited by Michael Bulgrien; 09-Dec-2010, 01:37 AM.

    Leave a comment:


  • snidely.too
    replied
    Which version of Windows was this?

    Leave a comment:


  • chrisjj
    replied
    Originally posted by Craig View Post
    Aaron is running XP, and chrisjj didn't specify, which is why he had to ask for clarification.
    I see no request for OS ID. Mine is XP SP2.

    Leave a comment:


  • ZoŽ
    replied
    Thanks Lutz.

    The dialog and error message Beyond Compare shows match Windows XP's Explorer. Vista or Win7 updated Explorer to handle this case more gracefully. Aaron is running XP, and chrisjj didn't specify, which is why he had to ask for clarification.

    Lutz's tests clearly show we have to handle this better on the front end, both in detection and in the resulting prompt. Fixing the error message itself is a separate issue, since, as Tim said, the string is provided by the OS.

    Leave a comment:


  • chrisjj
    replied
    Nice report, Lutz. I hope I one day I get you testing some software of mine

    Leave a comment:


  • Lutz
    replied
    I'm a little bit confused about this thread, so I did some tests by myself:

    WE rejects moving files or folders to a folder containing a file or folder with an identical name.
    All error messages correctly identify, if the target folder contains a file or a folder with the same name.
    The messagebox choices are like Retry/Try Again and Cancel (@Michael: Where did You see Skip?).

    BC3.2 falsely reports an existing file instaed of an folder as chrisjj first posted.
    The replace-messagebox choices are Yes/No/Cancel. If selecting Yes, the moving fails with the error message "Unable ..." of Michaels first reply.

    !!! If you try to move a FOLDER to a folder containing a FILE with the same name there are 3 issues:
    1. No warning is displayed.
    2. An empty moving folder gets lost.
    3. Not empty moving folders cause an assertion failure of BC3
    (VfsEntryImpl.pas, line 2107).

    Greetings Lutz

    Leave a comment:


  • Michael Bulgrien
    replied
    My test demonstrated that a move using the WE GUI returns a different error than BC, presumably because it is not a background call and WE displays a dialog prompting the user with a set of follow-up choices:
    Try Again, Skip, Cancel

    Leave a comment:


  • chrisjj
    replied
    Originally posted by Tim View Post
    That's an unfair comment. Aaron tested this issue back on November 22nd and has made an appropriate tracker entry.
    Then I see no grounds for asking the customer to test Windows.

    Leave a comment:


  • Aaron
    replied
    Hello Chris,

    I tested the error message back when you originally posted it. Since it is passed back from the OS, I was double checking to make sure that the same cause was having the same effect. So, I have a tracker entry open for :
    WE error A -> Shows in BC as Error A.

    As long as you are also hitting error A, then the tracker entry addresses this. If for some reason, you are hitting WE Error B -> Shows in BC as Error A, then we can't know, since you didn't have time to perform the additional tests.

    I wouldn't worry. I'm guessing A -> A on your end as well; I was just trying to be thorough.

    Leave a comment:


  • Tim
    replied
    That's an unfair comment. Aaron tested this issue back on November 22nd and has made an appropriate tracker entry.

    Leave a comment:


  • chrisjj
    replied
    Originally posted by Michael Bulgrien View Post
    I would think that it would be quicker for either side to simply do the test instead of all this back and forth banter.
    I guess Support has something better to do today that test their own software. I know I have.

    Leave a comment:


  • Tim
    replied
    The message is coming from the OS, so it's not simply changing a string in our code. As Michael demonstrated, the message differs between Windows versions.

    The suggestion is then that we build in functionality to give a more appropriate error message under older OSs. We will consider that suggestion.
    Last edited by Tim; 03-Dec-2010, 11:00 AM.

    Leave a comment:


  • Michael Bulgrien
    replied
    I would think that it would be quicker for either side to simply do the test instead of all this back and forth banter.

    WE under Windows 7 says: "There is already a folder with the same name as the file name you specified. Specify a different name."

    BC under Windows 7 says: "Unable to move <filepath>: Cannot create a file when that file already exists"
    Last edited by Michael Bulgrien; 03-Dec-2010, 01:34 PM.

    Leave a comment:

Working...
X