When I "Quick edit" the Title, the menu item seems to get removed?

Comments

wim leers’s picture

Title: Menu item removed » Node's menu link removed when changing either title, date or author via in-place editing
Priority: Normal » Critical
Issue tags: +sprint, +Spark

Confirmed, and expanded.

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Postponed
wim leers’s picture

Title: Node's menu link removed when changing either title, date or author via in-place editing » Node's menu link removed when changing either title, date or author via in-place editing (also: fape.inc is unmaintainable)
Status: Postponed » Fixed
Issue tags: -sprint

Instead of this being blocked on #1947802: Clean up Edit's PHP to make it more maintainable: Drupal 8-style in-place editor definitions, I decided that it's better to solve the different parts of that problem in subissues. Hence this is one such subissue.

I'm happy to report that by cleaning up fape.inc, restructuring it, diving deep into Node & Entity APIs and carefully comparing code flow and object dumps, I was able to solve this problem :)

For future reference: most of the issue was cleaning up (fape.inc is now highly consistent instead of highly inconsistent), the key part of the solution to this particular problem happened in _edit_node_object_prepare(). I also managed to get rid of the entity reloading after saving in pages.inc, and fixed a bug in the re-rendering of the node author.

http://drupalcode.org/project/edit.git/commit/7dd2f86

Automatically closed -- issue fixed for 2 weeks with no activity.

longtom’s picture

Issue summary: View changes

[non-issue posted in incorrect location]