Existing grey geometry missing from add/edit area ~FarmOS installed in subdirectory

Created on 25 October 2015, about 9 years ago
Updated 7 April 2023, over 1 year ago

My FarmOS installation is sitting in a subdirectory of localhost named "FarmOS/".

There is an issue where the json that contains the area data and is used to generate the grey geometry that is visible when adding or editing areas is not accessed properly.

The map tries to find it at localhost/FarmOS/FarmOS/farm/area/json.
The correct location is localhost/FarmOS/farm/area/json.

If line 194 of farm_area.views_default.inc: $handler->display->display_options['path'] = 'farm/areas/json';
is given the full path: 'http://localhost/FarmOS/farm/areas/json' via $handler->display->display_options['path'] = url('farm/areas/json/' , array('absolute' => TRUE));
everything works great.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States EThornton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024