| 11:05 | * | oliverp44[m] has joined |
| 13:07 | mstenta[m] | Hi oliverp44 |
| 13:12 | * | sgoodall has quit (Ping timeout: 260 seconds) |
| 13:13 | * | sgoodall_ has quit (Ping timeout: 240 seconds) |
| 13:14 | * | sgoodall has joined |
| 13:15 | * | sgoodall_ has joined |
| 13:24 | * | sgoodall_ has quit (Ping timeout: 245 seconds) |
| 13:24 | * | sgoodall has quit (Ping timeout: 250 seconds) |
| 13:26 | * | sgoodall has joined |
| 13:26 | * | sgoodall_ has joined |
| 14:30 | oliverp44[m] | mstenta: Hi |
| 14:33 | mstenta[m] | So your dashboard map ain't working, eh? :-) |
| 14:34 | oliverp44[m] | pulling my hair out ! |
| 14:34 | mstenta[m] | yea! weird |
| 14:34 | mstenta[m] | just to be sure... if you go to /assets/land, do you see them? |
| 14:34 | mstenta[m] | (slightly different than /assets) |
| 14:34 | oliverp44[m] | I am not enormously experienced but I do think I have set up correctly. |
| 14:35 | mstenta[m] | oh and: what version are you using? 2.0.0-alpha5? 2.x? (just released 2.0.0-alpha6 a few moments ago!) |
| 14:35 | oliverp44[m] | The latest thing I did was to install alpha 4 to see if that made any difference but again it shows correctly within my asset land but not on the dashbourd |
| 14:35 | oliverp44[m] | I can try that but as I have tried 4 & 5 do you think that might make a difference ? |
| 14:36 | mstenta[m] | this question might be more important: |
| 14:36 | mstenta[m] | > just to be sure... if you go to /assets/land, do you see them? |
| 14:36 | mstenta[m] | but yes i would definitely recommend using the latest version before you start adding any real data! |
| 14:37 | oliverp44[m] | sure. Yes I can definitely see the three assets I have created. The only difference is that if I go to /assets/land the location column is blank |
| 14:42 | mstenta[m] | ok... so the dashboard and /assets/land share some logic... so if they are BOTH not working, that tells us something |
| 14:42 | mstenta[m] | > The only difference is that if I go to /assets/land the location column is blank |
| 14:42 | mstenta[m] | I'm not sure I understand this... can you elaborate? or post screenshots? |
| 14:43 | oliverp44[m] | certainly - would it make any sense if you logged in ? |
| 14:43 | mstenta[m] | if you don't mind sharing your url and credentials, sure! (please send via a private message, this channel is public) |
| 14:44 | mstenta[m] | or you can create a user for me - i'll send you my email address privately |
| 14:48 | mstenta[m] | oliverp44: Hmm well I see part of the problem... |
| 14:48 | oliverp44[m] | ok ? |
| 14:49 | mstenta[m] | Oh wait... I think I know what's happening |
| 14:49 | mstenta[m] | I think you found a bug! congratulations! :-D |
| 14:49 | mstenta[m] | It is because your farmOS is installed in a subdirectory |
| 14:50 | mstenta[m] | it is trying to load /assets/geojson/full/land - but getting a 404 (those are the GeoJSON data that are used in the dashboard) |
| 14:50 | mstenta[m] | (so farmOS is not properly building the path to those URLs) |
| 14:50 | mstenta[m] | let me take a look - i think i know where the issue might be |
| 14:51 | oliverp44[m] | I guess that is the same reason that if you click on All Locations it wants to go to farm.wrackleford.co.uk/locations which also creates the 404 error |
| 14:52 | mstenta[m] | oh ok yes - where is the "All locations" link you're referring to? i can look into that as well |
| 14:52 | mstenta[m] | farmOS should work in a subdirectory - but we haven't been testing that in 2.x |
| 14:52 | mstenta[m] | so there might be other things like this |
| 14:53 | oliverp44[m] | if you go to www.farm.wrackleford.co.uk/farmOS/web/lo and click on All Locations it should take you to the same page but it fails |
| 14:53 | mstenta[m] | ooh yes... thanks |
| 14:55 | mstenta[m] | yes... here is the bug: github.com/farmOS/farmOS/blob/059e0af8d9 |
| 14:55 | mstenta[m] | (for the map layers) |
| 14:55 | mstenta[m] | if you want to fix it temporarily for your local use, you can just manually edit that line |
| 14:56 | mstenta[m] | i will make sure this gets fixed before the next release |
| 14:56 | mstenta[m] | but again: i would highly recommend updating to alpha6 before you start using farmOS |
| 14:57 | oliverp44[m] | will do - thank you for your help. |
| 14:57 | oliverp44[m] | One last thing - does the field app work (sorry forgotten its name) with version 2 |
| 14:57 | mstenta[m] | and here is the other bug: github.com/farmOS/farmOS/blob/059e0af8d9 |
| 14:57 | mstenta[m] | i'll fix both of these |
| 14:58 | mstenta[m] | Field Kit? Nope not for v2 yet... but jgaehring is working hard on it :-) |
| 14:58 | oliverp44[m] | brilliant - thank you for your help |
| 14:58 | mstenta[m] | sure thing! i'll comment on that forum topic so others know this is a subdirectory issue |
| 14:58 | mstenta[m] | thanks for helping to debug! |
| 16:52 | * | sgoodall has quit (Ping timeout: 245 seconds) |
| 16:53 | * | sgoodall_ has quit (Ping timeout: 268 seconds) |
| 16:54 | * | sgoodall has joined |
| 16:54 | * | sgoodall_ has joined |
| 17:02 | symbioquine[m] | <mstenta[m]> "and here is the other bug: https..." <- What's the bug? |
| 17:03 | symbioquine[m] | The constructed url should include `window.location.origin + drupalSettings.path.baseUrl`. |
| 17:03 | symbioquine[m] | Shouldn't that work for subdirectory installs too? |
| 17:04 | symbioquine[m] | <mstenta[m]> "yes... here is the bug: https..." <- Sorry, meant to reply to this one ^ |
| 17:06 | mstenta[m] | oh you're right symbioquine - tbh i only glanced at that line, haven't tested it yet |
| 17:06 | mstenta[m] | i just saw that it starts with `new URL('/assets/geojson/...` |
| 17:06 | symbioquine[m] | Yeah, I find that API a little backwards too :) |
| 17:08 | mstenta[m] | well in either case, i did test on oliverp44's instance directly, and sure enough the paths to layers were 404ing because they were not prefixed with the directory |
| 17:08 | mstenta[m] | so something's wrong |
| 17:08 | symbioquine[m] | Weird |
| 17:08 | symbioquine[m] | Yeah, I haven't tested that case specifically myself. |
| 17:08 | mstenta[m] | me neither |
| 17:09 | mstenta[m] | in the 7.x-1.x lifecycle i remember fixing a lot of little subdir issues like this :-) |
| 17:09 | symbioquine[m] | Maybe something's wrong with how `drupalSettings.path.baseUrl` is getting populated. |
| 17:09 | mstenta[m] | yea maybe |
| 17:09 | mstenta[m] | something feels familiar... like we fixed something similar in 2.x JS somewhere already... but i can't recall |
| 17:23 | mstenta[m] | FYI: github.com/farmOS/farmOS.org/issues/12#i |
| 17:24 | mstenta[m] | congrats to everyone who made that list! ;-) |
| 17:24 | mstenta[m] | you will be forever enshrined as an "early adopter" of farmOS |
| 19:30 | paul121[m] | symbioquine: I just opened this issue and am curious if it could be expanded to display "contextual information" more generally on asset/log pages. Your ideas for the QR code "linking" of assets to a separate internal/external app comes to mind, curious if that could be another use case. |
| 19:30 | paul121[m] | www.drupal.org/project/farm/issues/32555 |
| 20:37 | symbioquine[m] | I'll take a look once I get back to my computer this evening... |
| 20:38 | paul121[m] | no rush! |
| 21:23 | * | jonasbits has quit (Quit: No Ping reply in 180 seconds.) |
| 21:25 | * | jonasbits has joined |