chnm / anthologize

Anthologize is a free, open-source, WordPress-based platform for publishing. Grab posts from your WordPress blog, pull in feeds from external sites, or create new content directly in Anthologize. Then outline, order, and edit your work, crafting it into a coherent volume for export in several formats, including PDF, EPUB, and TEI.
http://anthologize.org
GNU General Public License v3.0
174 stars 28 forks source link

`fromNewId` not populated properly when left-hand items are built via JS #115

Open boonebgorges opened 5 years ago

boonebgorges commented 5 years ago

Some recent change (I'm having a hard time determining which but I think it's a2371461523e7d0e1bde7971037ab075a853a36f) caused AJAX requests for posts in the left-hand sidebar to return a payload that did not include post IDs - only title and metadata. As such, Anthologize couldn't properly fill the fromNewId element on those left-hand posts, and when they were dragged to the right, there wasn't enough data to clone properly.