Skip to content

Meta files should be cleaned up on rename #2

Closed

Description

@daftspunk

When a CMS object filename is renamed (Page, Partial, Template) the old meta file should be deleted.

Currently it creates a new meta file, but fails to clean up the old one.

Activity

  1. contextlimit commented on Apr 5, 2013

    @contextlimit
    Contributor

    +1

  2. contextlimit commented on Apr 22, 2013

    @contextlimit
    Contributor

    Also, it doesn't seem like the pages/x/x_page.php is being renamed.

  3. contextlimit commented on Apr 22, 2013

    @contextlimit
    Contributor

    I renamed 'buyers_page' to 'create_project_page' but it was still buyers_page.php, and it would still load that too actually (must be doing a _page.php search? might improve efficiency to require exact name).

  4. daftspunk commented on Jul 3, 2013

    @daftspunk
    MemberAuthor

    It looks for anything with the page prefix. Agree this can be made better.

  5. removed their assignment
    on Jul 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions