Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Feb 2013 at 23:49 UTC
Updated:
29 Jul 2014 at 21:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gábor hojtsyWhat do you imagine would be the requirements here?
Comment #2
berdirI think just being able to specify a language for a feed and that language is then copied to the feed item would be a considerable improvement to what we have now.
Comment #3
gábor hojtsyDefinitely :) I don't think we want to have multilingual properties on feeds or feed items, at least I cannot think of a need for that. Those syncing site content via feeds would use node entities as their target anyway (not with the core modules).
Comment #4
berdirNot sure if the tests are going to work and this will need test coverage but manual tests worked fine. Allowed me to set a language and the feed items take over that language.
Comment #6
berdirFailed with this:
Comment #7
gábor hojtsy#4: feed-langcode-1905870-4.patch queued for re-testing.
Comment #9
gábor hojtsy#4: feed-langcode-1905870-4.patch queued for re-testing.
Comment #10
gábor hojtsyAnd now OpenID tests failed. So looks like unrelated flukes. Retesting again.
Comment #12
berdirHm, that's a strange fail:
Possibly a new random one?
Anyway, it doesn't matter if this doesn't get green, needs work is the correct state as it needs tests.
Comment #13
gábor hojtsyYeah, there are always different fails :) I agree it needs tests anyway. It would in all likeliness pass alone if not for the flukes on testbot.
Comment #14
berdirOk, added basic test coverage.
Gabor, do you think we need something else here? There isn't much to test, the language is currently not visible nor does it provide any additional features. This will only start to get interesting once the views integration makes it in, which should now be updated to include the language fields/filters.
Comment #15
gábor hojtsyYeah, this will get interesting with views. I don't think there were any added features to aggregator, so there is still no global admin page for items is there? That could get a language filter, if there is one such screen now. Code review notes:
Missing newline at end of file.
Create sample nodes?!
Missing newline at the end of file here too.
Comment #16
berdirFixed the file endings, add an assertions that there actually were feed items loaded (because it would pass if there would be none otherwise) and moved and commented the sample nodes method call.
Comment #17
gábor hojtsyLooks very nice. Thanks for the updates :)
Comment #18
catchLooks great. Committed/pushed to 8.x.
Could use a change notice.
Comment #19
gábor hojtsyAdded http://drupal.org/node/1918090
Comment #20
eric_a commentedWe have the 'initial' key for use in the specification. Less code, and I'd say more clarity.
Comment #21
berdirOh, didn't know or forgot about that.
Initial does exactly the same thing internally, so this looks good to me.
Comment #22
chx commentedlol i didn't know about that either. when did that get in :) ?
Comment #23
webchickYay two line patches. :)
Committed and pushed to 8.x. Thanks!