Closed (fixed)
Project:
Google Analytics Counter
Version:
8.x-3.0-alpha15
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2019 at 15:47 UTC
Updated:
4 Jun 2022 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tepelena commentedComment #3
esod commentedThanks, @tepelena. I'll look into it.
Comment #4
esod commentedThe update does change the entity to an integer. I should have introduced the field as an integer instead of a textfield in the first place. So I'm trying to correct this mistake with the alpha15 update. I thought my code in update 8009 took care of the change, but obviously not.
I can't think of a reason why you're getting an integrity constraint violation in a delete. It's a delete after all. I will look into it further. You can try clearing cache before attempting to run the module update again.
To keep things moving for you and others who may be running into this same problem, try these manual steps:
After cron, your data will be restored and you can use the field the same way you've been using it, except now the field is an integer instead of a text field. So views will work better if you sort by the custom field.
Comment #5
esod commentedI found the problem. I never tested alpha15 with the custom field on more than one content type. That's probably where the integrity constraint violation is coming from.
If you can wait a few minutes, I'll have to cut an alpha16 tag for the regression. Otherwise, my recommendations in #4 will always work.
Comment #7
tepelena commentedThank you for the update. I will wait for the alpha16.
Right now the site works, but I can't complete the update.
Thank you so much for looking into this.
Comment #9
tepelena commentedUnder /admin/config/system/google-analytics-counter-configure-types
I unchecked all Content Types
run update.php
It went through without any issues.
Thanks
Comment #10
esod commentedHi @tapelena. Great. The update 8009 has other problems. I'm fixing it.
Comment #14
esod commentedOkay it should be better now with alpha16. I hope you get the attribution for this bug. Your issues are really helpful. Thanks again.
Comment #15
tepelena commentedThe latest update went smoothly. Thanks.
Comment #16
tepelena commentedComment #17
kaszarobertFixing status if it's done.