Bug Report T438575
Visible to All Users

Import Templates - Not all templates are imported if the same folder already exists in the templates tree

created 8 years ago

I ran into the same issue reported here. I can now import the classic settings but it only imports some of the templates, not all of them. It doesn't indicate that anything failed, it simply doesn't import them.

My initial thought was that it was because some of the templates relied on a custom context provider that I had written. But when I looked at the imported templates some of the ones that imported also reference the context provider so that isn't it.

The only thing that seems to be common for the templates that weren't imported is that there were multiple templates for each name, each with a different context. For example I had an /xout template with 1 template for context A and a different template for context B. These didn't import at all.

Comments (3)
DevExpress Support Team 8 years ago

    Hi Michael,

    I have tried to reproduce this problem locally, but my attempts were not successful. Your file contains 25 templates and 4 of them have different contexts. Please see the attached video illustrating how it works on my side.
    To help us determine the cause of this problem, please send us log files from the %localappdata%\CodeRush\Logs folder.

    I'm looking forward to your reply.

    MT MT
    Michael Taylor (FSMB) 8 years ago

      You are correct in that the templates import correctly if this is a clean load. But in my case I already had a Custom folder and a couple of the templates already existed. When I import it prompts to overwrite them. When I say yes then it fails to import some of them. The one's it fails to import weren't even the one's that already existed.

      I'm attaching the steps I followed along with the requested log file.

      DevExpress Support Team 8 years ago

        Hi Michael,

        Thank you for the additional information. I have reproduced this behavior locally. We will fix this in our future builds.

        Answers approved by DevExpress Support

        created 8 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.