Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The links used for each RSS item are not pointing to a valid URL.
Feed: http://drupal.org/user/9034/track/code/feed
links to: http://drupal.org/commitlog/commit/5%2C608/8d1eb79bad880d423e7eb588b1379...
Comment | File | Size | Author |
---|---|---|---|
#11 | versioncontrol-rss-feed-for-git-1772300-10.patch | 2.11 KB | Dave Reid |
#10 | versioncontrol-rss-feed-for-git-1772300-10.patch | 3.23 KB | Dave Reid |
Comments
Comment #1
Morbus IffThe extra %2C in the URL seems to be the issue. This one works fine:
http://drupal.org/commitlog/commit/5608/8d1eb79bad880d423e7eb588b1379500...
Comment #2
Morbus IffLooks like the 5608 is being number-formatted with commas.
Comment #3
achtonI have observed this with Google Reader as well. Which RSS client have you tested this in?
Comment #4
Morbus IffFeed reader is irrelevant. The generated RSS source is wrong.
Comment #5
sense-designconfirming this, the "comma" should not be there, e.g.
wrong:
http://drupal.org/commitlog/commit/4,378/2373353be7501e8e3900804523b9738...
should be:
http://drupal.org/commitlog/commit/4378/2373353be7501e8e3900804523b97384...
Feed is pulled via Drupal core aggregator module
Comment #6
tr33m4n CreditAttribution: tr33m4n commentedThis is still an issue, any updates?
Comment #7
tr33m4n CreditAttribution: tr33m4n commentedThis is ridiculous, this has been an issue for over a year now!
Comment #8
sense-designYes and it should be a small fix
Comment #9
Dave ReidLooks like the actual problem here is in the versioncontrol.module, which contains the commit log views and RSS feeds.
The URL for the commit is constructed here, which comes from the repo_id column in views, which is defined in versioncontrol.views.inc to use the views_handler_field_numeric handler. This Views handler by default outputs a comma to format the number, so it looks like we just need to disable that in the default commitlog Views here, re-export them, and provide it as a patch.
Comment #10
Dave ReidHere's the patch to fix this in the current D7 View exports. There were some additional changes just by re-saving the View, but I didn't include them. Will provide a D6 patch shortly.
Comment #11
Dave ReidHere is the patch against 6.x-2.x.
Comment #13
Dave ReidFYI I filed a D8 core issue (#2085361: Provide a field handler for serial columns that do not have decimal or separator formatting) with a corresponding Views 7.x-3.x issue (https://drupal.org/node/2085365) that would have helped this because we need a simple handler for the repo_id field.
Comment #14
sense-designThanks Dave
Comment #15
marvil07 CreditAttribution: marvil07 commented@Dave Reid: Thanks for providing the patches and creating the related issues!
The patches looks good, but sadly it will not solve drupal.org problem, since drupal.org use a different set of versioncontrol view sets defined in other places like drupalorg project.
Before adding the patch to versioncontrol, I will review if repo_id view field is used on other urls generated from views.
For D8, in general sounds like a good idea to have a separate simpler field than numeric.
For D7, maybe is a little late to add a feature, so I will start with the workaround suggested on the patches.
For D6, definitely the workaround is fine.
Comment #18
marvil07 CreditAttribution: marvil07 commentedSorry for the late response, patches added to d7 and d6, also opened follow ups for vc_project and drupalorg:
Comment #19
drummDeployed on Drupal.org.
Comment #21
Perignon CreditAttribution: Perignon commentedReopening this ticket as it is not fixed on D.O
See added related issue filed in the D.O infrastructure queue.
The %2C is still in the link causing broken links.
Comment #22
marvil07 CreditAttribution: marvil07 commentedSee comment 18
Comment #23
Perignon CreditAttribution: Perignon commentedOk. Just trying to find where the beanstalk ends in this.