YAG-Gallery / yag

YAG - Yet Another Gallery
http://www.yag-gallery.de
31 stars 34 forks source link

"No gallery has beeen selected!" #89

Open matthias-g opened 7 years ago

matthias-g commented 7 years ago

If I create an album using the form in the frontend I get a message saying "The new album was created." but also an error message saying "No gallery has been selected!". It looks like the process of creating the album works well but the redirect to gallery after the creation fails.

I'm running Typo3 7.6.12 and YAG 4.1.2.

matthias-g commented 7 years ago

I just looked into the code: After the creation of the album the user is redirected to the index of the respective gallery. Therefore the gallery id is needed, which is stored in the YAG context. The problem is that the context is not being persisted between the two requests (the original one and the one after the redirect to the index action). This is due to the NullStorageAdapter being used for frontend actions. I'm not sure how this is supposed to work. Can you give me some insight?