U4-7256 - 500 Error (Internal Server Error) when trying save a partial view macro file twice.

Created by Dennis Aaen 15 Oct 2015, 13:07:28 Updated by Sebastiaan Janssen 15 Oct 2015, 13:14:26

Duplicates: U4-7201

What did you do? I can only save a partial view macro file once after opening it. When I click Save button again it displays the following error in the console (Firebug) and doesn't save the changes. I have installed a fresh Umbraco 7.3.0 with the TXT starter kit.

What did you expect to happen? I did expect that the file will be saved with the new changes, and do have to click something else and open a script again (start fresh).

What actually happened? When I try to save it more than once I get this error in the console

POST http://example.com/umbraco/RestServices/SaveFile/SavePartialViewMacro 500 (Internal Server Error)send @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk:2f.extend.ajax @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk:2f.(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk:2Umbraco.Editors.EditView.base2.Base.extend.doSubmit @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL0NvZGVNaXJyb3IvbGliL2NvZGVtaXJyb3IuanM7L3VtYnJhY28vbGliL0N:1192(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL0NvZGVNaXJyb3IvbGliL2NvZGVtaXJyb3IuanM7L3VtYnJhY28vbGliL0N:1191f.event.dispatch @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk:2h.handle.i @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk:2 DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOw&t=Ja:18 Uncaught TypeError: Cannot read property 'apply' of undefined

You can find a thread on our too. https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/72178-partial-view-macro-files-frustrating-issue

Comments

Priority: Normal

Type: Bug

State: Duplicate

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version:

Sprint:

Story Points:

Cycle: