Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. The abc.xml.xml file exists. 2. The abc.xml file cannot be made. More information:
Created attachment 111027 [details] patch for 245324
I'm not having a problem creating abc.xml when abc.xml.xml exists, or the other way around. Are there more steps?
A detailed procedure is described. 1. The [New XML file] wizard makes "NewFile.xml.xml" for "example" folder. 2. The [New XML file] wizard selects "example" folder, and it is input to "File Name:" input field as "NewFile.xml". (It is "NewFile.xml" in default.) 3. The [Finish] button cannot be pushed. 4. If the value of "File Name:" input field is "NewFile", the [Finish] button can be pushed.
I have been able to reproduce this issue. The exact steps are as follows. 1. Create a new XML file called "NewFile.xml.xml" 2. Use the New XML file wizard, and try the create a new file called "NewFile.xml". You get the error marker, and can not advance on. This appears that the file check is not doing a complete check. I'll take a look at the patch and see if it is still applies cleanly and if it works.
The patch looks okay. Mukoujima, I would make a couple of suggestions. 1. It contains your name in the Contributor header, along with the bug number. 2. Can you include a unit test for the patch? I've figured out a way to write a unit test but it will take a small refactoring to make it testable. I'm tentatively targeting this for 3.1M7, it's a fairly low risk patch. Nitin please feel free to change the target.
This is still reproducible in WTP 3.2. The given patch (which surprisingly enough the patch still applies cleanly after all this time) also seems to fix the problem.
Thanks for the patch. I've released to HEAD.