Closed (works as designed)
Project:
Media Gallery
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2012 at 07:02 UTC
Updated:
5 Jul 2012 at 20:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
moloc commentedCannot reproduce.
Clear browser / drupal cache. Is it still reproduceable?
Comment #2
lsolesen commentedYes. Using the media_dev install profile and the media_gallery with the commits from today, and now it always opens as a page?
Comment #3
moloc commented1. Installed a fresh version of drupal with the media_dev profile(from today) (latest stable version of all modules).
2. Enable media_gallery (+List, Number, Multiple forms) (media gallery from git)
3. Create a gallery (enter title -> save)
4. Add media (upload one image with plupload)
5. Click on the image --> lightbox opens
It is still not reproduceable.
Do you have the lightbox-option enabled in the gallery settings?
Comment #4
lsolesen commentedThis is strange, but I need to resolve it before we can release next version of Media Gallery. I am using both firefox and chrome and I am using the steps you outligned. Still not opening in the lightbox.
Comment #5
lsolesen commentedAlso having this problem at the moment on my local dev machine. Been flushing caches for everything. Must test on another dev machine soon.
Comment #6
moloc commentedYour screenshot looks like plupload issues. Is the library available, which version? Check status report of your site.
Comment #7
lsolesen commented@Moloc thought that the issues were related because of some javascript stuff. Turns out that media_dev needs libraries to know that plupload is installed. #1672788: Libraries are needed for plupload
Comment #8
lsolesen commentedUsed another server. The issue is still there.
1. drush make http://is.gd/8EKNFT --prepare-install media_dev
2. drush en media_gallery
3. drush en libraries
4. Add content --> Gallery
5. Create a gallery (enter title -> save)
6. Add media (from library - just the Druplicon)
7. Click on the image --> lightbox DOES not open
I put a Selenium Test case up here: https://github.com/lsolesen/media-gallery-testing. The last part of the test fails.
Comment #9
moloc commentedThank you for the drush commands (i was not using drush in #3).
That is not a media_gallery issue.
The media_dev profile does not include the colorbox-library. Therefore it is not installed and the lightbox is not working. If you manually install colorbox-library, everything works fine.
(Note: Is it correct, that i have to install media_dev using the browser between step 1 and 2?)
Comment #10
lsolesen commented@Moloc off course that is the issue. Then we are pretty much done for now. Thought about making a check in hook_requirements(), but this will probably soon be deprecated when adding optional lightbox-alternatives. #1311568: Integration with other lightbox alternatives