Closed (fixed)
Project:
Album Photos
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2023 at 21:01 UTC
Updated:
20 Jan 2024 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pheski commentedNote: I am using 6.0.5, but that option was not something I could select when starting the issue.
Comment #3
pheski commentedComment #4
nathaniel commentedThanks for reporting this. Looks like we can add:
$data['types']['photos_image']['name'] = t('Photo');To:
function photos_token_info_alter(&$data)Comment #8
frontmobeI created an issue fork where I added the suggested change. I tested the change locally and can confirm it solves the issue, so I went on and also made the merge request.
All we need now is a review and then hopefully a merge I suppose ;-)
Comment #9
frontmobeI just realised that other issues in this queue don't (yet) use the Gitlab merge request workflow, but use the patch workflow in stead.
I added a patch that does the same as the commit in the issue fork, use whatever works easiest I would say ;-)
Comment #11
nathaniel commentedThanks for this! Looks good to me.
Comment #12
frontmobeMany thanks Nathaniel!
Do yo think tagging a new release would be possible to prevent the error from showing up after updating to version 6.0.5?
Comment #13
nathaniel commentedReleased 6.0.6 https://www.drupal.org/project/photos/releases/6.0.6
Comment #14
frontmobeThat's awesome Nathaniel, thanks for tagging the new release!