Closed (fixed)
Project:
Facebook Instant Articles
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2017 at 10:14 UTC
Updated:
26 Oct 2017 at 01:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hctomAttached is a patch that splits up the
FieldItemListNormalizer::FORMATconstant into two different constants:FieldItemListNormalizer::FORMAT_FBIAFieldItemListNormalizer::FORMAT_FBIA_RSSComment #3
hctomJust digged into the code a little deeper, so here is an even better patch without duplicating the format constant values, but using the corresponding values from the available normalizer classes.
Comment #4
hctomDamn... I forgot to remove one parenthesis ;) So here is the working patch with interdiff on patch from comment #2
Comment #5
m4oliveiThanks! This looks great. Could you file a PR on Github per the Contributing guidelines?
https://github.com/BurdaMagazinOrg/module-fb_instant_articles/blob/8.x-2...
We use Drupal for issues, Github for contributing code.
Comment #6
hctom@m4olivei: Of course ;) Here is the corresponding PR:
https://github.com/BurdaMagazinOrg/module-fb_instant_articles/pull/120
I also did some more cosmetic changes on that PR:
$supported_formatselementfbia_rssformat in return value documentationComment #8
m4oliveiReviewed and merged to 8.x-2.x. Looks great. Thanks so much!