Button "Add photos to this album" does not work
To Reproduce Steps to reproduce the behavior:
- Open Photos app
- Navigate to "Folders" view
- Open any folder
- Click on the "+ Add" button
- Click on "+ Add photos to this album" menu item
Nothing happens, and it is unclear what this function should do (add photos to this file folder?)
Expected behavior ?
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS
- Browser Chrome
Server Nextcloud 25.0.0
Works here :shrug:
I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
How to access your browser console (Click to expand)
Chrome
- Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
- Alternative method:
- Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
- Click the “console” tab.
Safari
- Press CMD + ALT + I to open the Web Inspector.
- See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)
IE9
- Press F12 to open the developer tools.
- Click the “console” tab.
Firefox
- Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
- or, if Firebug is installed (recommended):
- Press F12 to open Firebug.
- Click on the “console” tab.
Opera
- Press CTRL + SHIFT + I to open Dragonfly.
- Click on the “console” tab.
Additional information: the menu in "+ Add" only appears when there is at least one album.
Seems like I triggered multiple bugs with this, but here is a screen cast:
https://user-images.githubusercontent.com/238631/198092040-dd840612-7856-4ec3-8fc3-18d8b94e5492.mp4
I did this:
- Open the Photos app
- Create a new Album ("Test")
- Open "Folders" view
- Click "+ Add" => Menu opens
- In the menu, click "+ Add photos to this album" => nothing happens
- In the Albums view, delete the album
- Open "Folders" view => thumbnails have disappeared (but the "+ Add photos to this album" menu item is still there)
- Reload the page => thumbnails re-appear
- Click "+ Add" => no menu, upload file prompt is shown correctly
- Upload an image
- Click on the uploaded image => 404 (maybe wrong URL in state)
- Reload the page, click on the uploaded image => shows correctly
There seems to be something wrong with the state management or something...
Ah, a state mismatch! Nice found! :) I'll investigate soon