ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using "Save template as file", missing file extension?

April 02, 2012 9:36am

Subscribe [3]
  • #1 / Apr 02, 2012 9:36am

    ira42

    167 posts

    We’re running EE 2.4.0,  and save templates as files.

    After renaming a template,  and saving it,  it creates the new template in the filesystem.  It doesn’t remove the template file with the old name,  and while quite a bad UIX / workflow,  I believe that’s just standard EE behaviour.

    However,  going back to the newly renamed template via the CP,  making a change,  then re-saving,  I now have a duplicate FILE in the filesystem,  with the new name,  but missing the file extension.  So now I have THREE template files on the server…:

    1)  the original template.html file
    2)  the newly named template_new.html file
    3)  the extension-less template_new file,  which seems to be the one linked to the db version (eg:  if I make a change in the cp,  this is the only server file updated)


    Afraid to continue development,  make changes to template files,  or run a Sync templates for now,  and this is seriously impeding development.

    What on earth could be going on?  Is this replicable on your end?  Any ideas what to look for?

    Ira

     

  • #2 / Apr 02, 2012 10:19pm

    Austin Siewert

    129 posts

    I have the same issue. Add the file extension and then save from the CP creates a extension-less file that is linked to DB. Running 2.4 also

  • #3 / Apr 03, 2012 11:23am

    Dan Decker

    7338 posts

    Hi all!

    The good news? This is a known bug, and there is a solution!

    If you apply the fix, does the issue persist?

    Cheers,

  • #4 / Apr 03, 2012 11:26am

    Austin Siewert

    129 posts

    That fixed it! Why is the RSS template extension .feed?

  • #5 / Apr 03, 2012 5:53pm

    ira42

    167 posts

    Sorry,  didn’t get the notification.  Yes,  this resolves the issue for me, tx.

    Ira

  • #6 / Apr 05, 2012 1:59pm

    Shane Eckert

    7174 posts

    Hey ira42,

    Glad to hear it!

    Have a great week!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases