Closed (fixed)
Project:
CSS Injector
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2010 at 02:19 UTC
Updated:
1 May 2012 at 17:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfayThere haven't been any new commits to css_injector. However, there have been some changes to Drupal's CSS handling in the last few weeks.
Why do you think this has to do with css_injector?
Can you say what updates ran? That would help a lot.
Comment #2
klonosWell...
- it clearly has to do with css and css_injector is the only css related module I have enabled.
- it only happens in update.php and I have not seen the issue while testing #1003204: PDOException SQLSTATE[23000] 1062 Duplicate entry, field_revision_title_field, line 2762 ../includes/database/database.inc. I must have visited the test site's update.php say around 10 times during the last day - never had the issue.
- I used update.php quite a few more times during the last say 10-15 days period while updating latest dev versions of views3 requiring db updates - never had the issue.
- I've been using this test d7 setup since like months now and I never saw these errors till after installing css_injector (it was the last module I installed - yesterday).
- I thought it might be core too, but search in its issue queue returned only results that seem to not be relevant to my issue.
- disabling the module makes the messages go away - re-enabling it brings them back.
The errors showed up before ay updates were run (2nd step, at the page where you see what updates are pending - before even hitting the 'Apply pending updates' button).
Comment #3
rfayOK, I think this should fix the problem.
Thanks for the bug report!
Comment #4
klonosYep, it does! Thanx for the prompt solution Randy ;)
Comment #5
eaton commentedWhoops. This patch snuck into the last commit. Also, it works. So. Committed! ;-)
Comment #6
klonosThanx Jeff!
Comment #8
karilu_ec commentedI have encountered this same error after updating to Drupal 7.2 and trying to run the update.php. I am currently using CSS Injector 7.x.1.4. After disabling CSS Injector, update.php runs without notices and warnings. However, when re-enabling CSS injector and running update.php the notices and warnings are back. That is the version where it got fixed right? I have attached an image with the errors.
Comment #9
rfaySorry, no - it was only fixed in 7.x-1.x-dev. Somebody forgot to do a release.
I just released 7.x-1.5, which does contain this. Could you please test and make sure it works for you?
Comment #10
klonos...changed to dev so we don't go chasing versions.
Comment #11
karilu_ec commentedI updated to version 7.x-1.5 and it does fix the problem. I can run update.php now with no problems.
Thank you
Comment #13
likewhoa commentedI just recently setup a D7 site using 7.x and have encounter this issue.
not sure if this should be a new issue but seeing that warnings and notices are similar, I figure I reopen this issue again.
Comment #14
likewhoa commentedactually this should be reported for core.