Bug Report T811928
Visible to All Users

Templates – Templates import mistakenly processes underlines in the file name

created 5 years ago

I recently wiped my system and reinstalled the OS and all my software.

One of the tasks I needed to do was to import my CR Templates again.

This is where I ran into the really annoying behavior.

When I imported the file, it used part of the filename when it built the structure of the template tree.

When I export my Templates I always add the date to the filename so I know hold old the templates are and I can keep multiple versions of the Templates.

For example, I have my templates in a file called:

CSharp_Warp10_20190312.xml

In the XML the Name Attribute is simply "Warp10", so that's what I would expect it to import it as.  Instead it created a top folder of Warp10 and then a sub folder under that called "20190312" and put all the templates under that.

Warp10
     |____20190312
                     |____template A
                     |____template B

It should have imported as:

Warp10
     |____template A
     |____template B

I had to rename the file and remove the 20190312 part from the file to get it to import the way it should.

Please change this behavior.  If you need structure information you should be storing and reading it from the XML, not the filename.

Comments (1)
DevExpress Support Team 5 years ago

    Thank you for pointing out this issue. We will fix it and let you know once the fix is ready.

    Answers approved by DevExpress Support

    created 5 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.