< 012020-03-02⋎03 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
05:52idoshmida[m]<mstenta[m] "This is something that we could "> where can I fined information about this plugin? do I need to build it from scrach? I dont have a Drupal dev experiance but its a good day to start:) using the right Taxonomy structure is a big issue for me
06:52*JustTB has quit (Quit: Leaving.)
08:29*JustTB has joined
09:34*JustTB has quit (Quit: Leaving.)
09:41*JustTB has joined
12:07mstenta[m]@idoshmida:matrix.org: hmm this may actually already be possible without a new plugin
12:07mstenta[m]I just found this: www.drupal.org/project/views/issues/1317
12:08mstenta[m]That suggests there is already a plugin available that may do what we want. We would just need to replace what we currently have in all Views
12:09mstenta[m]However, it also mentions limitations
12:09mstenta[m]So I would want to understand thoroughly what the trade-offs are before including in farmOS code
12:09mstenta[m]But it's something you can experiment with in your own farmOS
12:09mstenta[m]It just means you will override the default Views
12:10mstenta[m]If you investigate it, please open a GitHub issue to document your findings so we can all learn from it
12:36skipper_is[m]Oh wow, so many errors updating to FarmOS 1.3
12:37skipper_is[m]`Failed: PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column "vidcount" does not exist LINE 5: HAVING (vidcount >= '2') ^: SELECT t.field_farm_movement_revision_id AS field_farm_movement_revision_id, COUNT(t.field_farm_movement_revision_id) AS vidcount FROM {field_revision_field_farm_movement} t GROUP BY t.field_farm_movement_revision_id HAVING (vidcount >= :db_condition_placeholder_0) LIMIT 10 OFFSET 0;
12:37skipper_is[m]Array ( [:db_condition_placeholder_0] => 2 ) in field_collection_update_7009() (line 430 of /var/www/html/farmOS/profiles/farm/modules/contrib/field_collection/field_collection.install).`
12:37skipper_is[m]Being the main one..
12:38skipper_is[m]Also.. my map has disapeared form the dashboard..
12:42mstenta[m]I'll be online in an hour or two
12:42mstenta[m]Will help debug
13:07mstenta[m]That main one is coming from an update in the Field Collection module (one of farmOS dependencies)
13:07mstenta[m]I wonder if the update query for that module is not postgres compatible
13:10mstenta[m]As for the map, I wonder if clearing your cache will fix it
16:56*JustTB has quit (Quit: Leaving.)
17:02*JustTB has joined
19:50skipper_is[m]The map has appeared, on the top of everything else
19:51*uploaded an image: image.png (89KB) < matrix.org/_matrix/media/r0/download/mat >
19:51skipper_is[m]I don't know if that is intentional. It also doesn't seem to have a default map...
19:52mstenta[m]skipper_is: yes that is intentional... although it should have a default base layer enabled
19:52mstenta[m]look in the layer switcher on the right: what do you see under Base Layers
19:52skipper_is[m]They're all there, but none are ticked
19:53mstenta[m]Hmm - that's odd. But if you tick one it works?
19:53mstenta[m]It will remember which one you tick by default, so next time you refresh the page that one should be shown
19:54skipper_is[m]Yea
19:54mstenta[m]Oh wait... something is different about yours
19:54mstenta[m]it should be below the menu, not above it
19:54skipper_is[m]It doesn't save when I tick one, if I refresh, back to nothing
19:54mstenta[m]Do you have any errors in console?
19:55skipper_is[m]I do not
19:55mstenta[m]Try selecting openstreetmap and refreshing - does that get remembered? (Someone else has reported an issue with Google being remembered, which I'm looking in to)
19:56skipper_is[m]Ah yea, that seems to be remembered
19:57mstenta[m]ok weird - thanks that helps
19:57mstenta[m]what browser/OS are you using?
19:57mstenta[m]we have not been able to replicate this - but three people (including you) have now reported it...
19:57mstenta[m]so i may ask your help in debugging
19:58skipper_is[m]Chrome on W10
19:59mstenta[m]thanks
19:59mstenta[m]here is the open issue: github.com/farmOS/farmOS-map/issues/65
20:00mstenta[m]skipper_is: also... regarding the error you saw during upgrades... i found this: www.drupal.org/project/field_collection/
20:01mstenta[m]indeed seems to be a postgres issue
20:01mstenta[m]:-(
20:02mstenta[m]fwiw we plan to drop the field_collection module in the future... but it's disconcerting to find other modules (not just Drupal core) with very tenuous support for pgsql
20:02mstenta[m]no one seems to test on postgres
20:03skipper_is[m]Indeed... Regretting using PostGres :P
20:04skipper_is[m]And migrating over seems to be more trouble than just ignoring the bugs...
20:05mstenta[m]:-(
20:05mstenta[m]It's not the end of the world yet
20:05skipper_is[m]INdeed
20:05mstenta[m]Just this issue and the older one...
20:06skipper_is[m]Probably some hiding somewhere else as well
20:06mstenta[m]Maybe, but maybe not.... The older one I'm not surprised because it's a wacky query
20:06mstenta[m]This newer one is only in the update code, so only runs once
20:06mstenta[m]Also seems to be a bit unique
20:07skipper_is[m]But I'm trying to get our organisation to use FarmOS over their other sites, and their server is using MySQL, so I don't know I can pursuade them to install PostgreSQL as well
20:07mstenta[m]I haven't lost hope yet :-)
20:07mstenta[m]Right... i still have to believe it's possible to migrate
20:08skipper_is[m]Yea, I did have some luck with migrating, it brought across most of the logs, but there was a lot of errors
20:09skipper_is[m]And I didn't try anything else... and now I cannot remember how I did it...
20:15mstenta[m]Hmm you may want to restore from Backup and look into that update code a bit
20:15mstenta[m]I'm not sure what it does exactly... but it would be pretty easy to find out I bet
20:16mstenta[m]Here it is: git.drupalcode.org/project/field_collect
20:16mstenta[m]oof that's pretty long actually
21:12*JustTB has quit (Ping timeout: 256 seconds)
21:34*JustTB has joined
21:43*JustTB has quit (Ping timeout: 258 seconds)
22:03*rbarreca[m] has joined
22:03rbarreca[m]Ahoy!
22:04mstenta[m]Hey rbarreca ! Welcome!
22:05*JustTB has joined
22:58*JustTB has quit (Quit: Leaving.)
23:10*JustTB has joined

< 012020-03-02⋏03 >