Closed (fixed)
Project:
Version Control API
Version:
7.x-1.x-dev
Component:
Commit Log
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 14:21 UTC
Updated:
11 Nov 2014 at 19:27 UTC
Jump to comment: Most recent, Most recent file
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 commentedThis is still an issue, any updates?
Comment #7
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 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 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 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 commentedSee comment 18
Comment #23
perignon commentedOk. Just trying to find where the beanstalk ends in this.