Closed (fixed)
Project:
Field SQL norevisions
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
5 Jan 2014 at 09:08 UTC
Updated:
23 Jan 2015 at 16:20 UTC
Jump to comment: Most recent
When using Field SQL norevisions as field storage engin and try to save a node with some taxonomy terms, those terms are stored into related field table correctly and available in node view but not stored in taxonomy_index table.
This happens in every node updates too, such as publishing/unpublishing.
So, term's listing page is always empty.
I'm using core 7.25 version and 7.x-1.0 field sql norevision.
Comments
Comment #1
alexluke commentedThe taxonomy module seems to have a hard dependence on field_sql_storage.
taxonomy_build_node_index() has an explicit check that field_sql_storage is used:
Comment #2
pwaterz commentedCheck out our fork here, should fix this issue https://github.com/highwire/field_sql_norevisions
Comment #3
tohidd commentedI confirm AKAli. I Installed FSNR and it broke taxonomy indexing. please fix it.
Comment #4
tohidd commentedPwaterz, I used your fork, first it worked but then it destroyed my site. please help. non of taxonomy based tables doesnt work.
Comment #5
alexpott@tohidd this module has the following on the project page
I hope you have backups?
Comment #6
tohidd commentedThe data on my site - including taxonomy included data - was uploaded and imported manually (from my previous site). After installing new site and moving data, I installed Field SQL norevisions. during two last months it was in my site, But today I discovered that the new contents does not effect taxonomy index table, so I googled and installed your fork. then all of my taxonomy based tables and review pages which are based on fivestar gone. I guess my hosting provider keeps a backup. but what could i do now?
--
Update: I copied original version of Field SQL norevisions and executed update, now all of my tables and site are fine. but still there is old bug now, When I create new nodes, there are no update in taxonomy index table. can you help me fix this bug?
Comment #7
alexpott@tohidd you can't just swap between the fork and the module without adjusting the values in your field config table.
Looking the code what you'll need to do is to write a script to carefully update the field_config table. All you need to be using the fork and change the storage setttings to have the type equal to field_sql_storage and the module equal to field_sql_storage. I would advise you write a little php script to do this since messing with serialised data in sql queries is not for the faint hearted.
Comment #8
tohidd commentedThanks alex
Comment #9
pwaterz commentedI will add an update to the fork to fix that.
Comment #10
alexpott@pwaterz no longer a fork :) 7.2 version!
Comment #11
pwaterz commentedSounds good! I'll create the 7.x-2.x-dev branch.
Comment #12
giorgio79 commentedHi pwaterz, Do you have an ETA? :)
Comment #13
pwaterz commentedI will try and get to this today.
Comment #14
pwaterz commented7.x-2.x-dev is now up :)
Comment #15
giorgio79 commentedAwesome! Will give it a shot :)
Comment #16
bibo commentedSo, is this taxonomy issue fixed in 2.x-series?
We probably need this module in an upcoming project, it might save around 15-30Gb of unneeded revision table data.
Comment #17
pwaterz commentedbibo yes it is.
Comment #18
pwaterz commented