mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
make sure title fits in the database field
This commit is contained in:
@@ -58,7 +58,7 @@ public class OPMLImporter {
|
|||||||
outline.getText(), parent);
|
outline.getText(), parent);
|
||||||
if (category == null) {
|
if (category == null) {
|
||||||
category = new FeedCategory();
|
category = new FeedCategory();
|
||||||
category.setName(outline.getText());
|
category.setName(FeedUtils.truncate(outline.getText(), 128));
|
||||||
category.setParent(parent);
|
category.setParent(parent);
|
||||||
category.setUser(user);
|
category.setUser(user);
|
||||||
feedCategoryDAO.save(category);
|
feedCategoryDAO.save(category);
|
||||||
|
|||||||
Reference in New Issue
Block a user