Problem/Motivation
I created a fresh access token at mapbox.com. It turns out at a length of 98 characters. The problem is the form on the module configuration page allows only a maximum of 96 characters (with a field size of 86).
Steps to reproduce
1. Create a new token at mapbox.com
2. Install module and try to enter it in the `Access Token` field
Proposed resolution
Extend the field length to allow the full token size.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal_mapbox-mapbox_token_exceeds_char_limit-3302050-1.patch | 553 bytes | Amacado |
Issue fork mapbox-3302050
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
Amacado commentedI created a patch and opened a pull request. Hope this helps someone! :-)
Comment #6
ahmed.raza commentedPlease update to 1.0.5 it fixes this issue.
Comment #7
ahmed.raza commentedComment #8
mattgh9152 commentedThis is now an issue again, as the Mapbox Access Key has increased in size further.
Can I recommend setting the max length to, say, 255, if it's required at all?