Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed validation fails on route_color #231

Open
JWJoubert opened this issue Aug 4, 2015 · 1 comment
Open

Feed validation fails on route_color #231

JWJoubert opened this issue Aug 4, 2015 · 1 comment

Comments

@JWJoubert
Copy link

I capture a route's colour as #1864a3 (R:24 G:100 B:163). Note that for the colour to be recognised, the '#' symbol must be included as prefix. This, however, is also saved with the '#' in the database and when validating the feed, it fails with the following error:

Invalid value #1864a3 in field route_color
route_color should be a valid color description which consists of 6 hexadecimal characters representing > the RGB values. Example: 44AA06

... it seems the '#' should be omitted. If I remove the '#' when capturing the colour, it defaults back to 'ff0000'. I believe this is quite crucial to sort out... but maybe I'm just missing something obvious. Any suggestions, please?

Thanks!
Johan

@JWJoubert
Copy link
Author

When manually removing the # for each route_color and route_text_color in the routes.txt file exported, it validates fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant