Bug #902
textile processing (and therefore textile-based inputs) not working
| Status: | Closed | Start: | 05/17/2010 | |
| Priority: | Urgent | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Metadata CRUD | Spent time: | 1.50 hours | |
| Target version: | June 2010 Sprint 1 | |||
Description
Need to copy over the textile stuff (RedCloth) from Salt DocumentsController into hydra_repository AssetsController
Related issues
| duplicates ToDo #933 | AssetsController.update should always read metadata values from params[:asset] | Closed | 06/11/2010 |
History
Updated by Matt Zumwalt 111 days ago
- Status changed from New to Assigned
This might be fixed now. If it is, mark it resolved, otherwise, leave it as-is and we will fix it when I come back.
Updated by Matt Zumwalt 111 days ago
I think this only breaks now because the update post doesn't include the content_type param, so the controller doesn't know where to look for the values. Add ?content_type=... to the post params and it should work now.
Updated by Matt Zumwalt 85 days ago
- Target version changed from Beta Iteration 3 to June 2010 Sprint 1
Updated by Matt Zumwalt 79 days ago
public/javascripts/catalog/edit.js line 66:
var submitUrl = documentUrl + ".textile";
this should be appending .textile to the base url (as a format extension) rather than sticking on the end of the url itself. currently, it's getting stuck on the very end of the entire url, setting the content_type to hydrangea_article.textile, which breaks the update method...