Closed (fixed)
Project:
Album Photos
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2021 at 04:42 UTC
Updated:
26 Apr 2021 at 15:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nathaniel commentedMoving to photos module issue queue.
Thanks for opening the issue. Looks like it is coming from the view settings:
/admin/structure/views/view/photos_album/edit/block_1
Under "Advanced" > "contextual filters" > "Photos: Album" > "when the filter value is available or a default is provided" > "Override title"
Album: {{ arguments.album_id }}
Comment #3
kingto commentedThank you Nathaniel!!
I hope you are having an amazing weekend!
It seems more complicated than I thought, because I found no view is called photos_album on my website.
Then I went to phpMyAdmin and found there is only a "views_data:photos_album" stored in cache_default with encrypted BLOB data.
It won't let me browse the raw data or edit..
My site is running Drupal 8.8.
Would it be possible for you if you could export this view as .txt?
Much appreciated!
Comment #4
nathaniel commentedIf you have the "Views UI"module enabled you should be able to see a list of views here:
/admin/structure/views
What version of the photos module is installed?
If 6.0.x the the views should be in the config/install (or optional) photos module directory.
If 4.x it looks like a bug in PhotosAlbumController.php getTitle().
Also here you can export a single view to text if needed:
/admin/config/development/configuration/single/export
Comment #5
kingto commentedThank you soooo much Nathaniel, I find it on the export page!!!
Yes, I have photos-8.x-4.3 installed. It is not appearing on the list of views.
With gratitude :)
Comment #6
kingto commentedSorry I was wrong, that view I saw on the export page was created by myself...
Still couldn't find it.
Comment #7
nathaniel commentedThe problem is in photos/src/Controller/PhotosAlbumController.php getTitle() around line 114.
Attached a patch to make it translatable.
Comment #8
kingto commentedMuch appreciated Nathaniel, it works! I've tested it okay.
Comment #10
nathaniel commented