localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Using a template that has been renamed causes error #62

Closed philipn closed 9 years ago

philipn commented 9 years ago

From @mivanov on October 24, 2012 18:3

  1. Create a page, say named "Thing".
  2. Rename it to "Templates/Thing".
  3. Create a new page using this template.
  4. Save the page.

Step 4 causes a crash. Once the redirect that was created in step 2 is deleted, the problem goes away

Copied from original issue: localwiki/localwiki#363

philipn commented 9 years ago

From @mivanov on October 24, 2012 18:4

Probably just need to exclude redirects when copying related objects on create from template

philipn commented 9 years ago

Templates will be reborn / reworked, and are now disabled, so I am closing this.