# dev

**URL:** https://discourse.farcrycore.org/c/dev/11.md

[Latest](https://discourse.farcrycore.org/latest.md) · [Categories](https://discourse.farcrycore.org/categories.md)

---

## [FarCry Builder: IDE for building types, rules, and forms](https://discourse.farcrycore.org/t/farcry-builder-ide-for-building-types-rules-and-forms/74)

<div class="topic-metadata">

**Author:** [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Replies:** 2\
**Last updated:** [June 24, 2014, 2:21am UTC](https://discourse.farcrycore.org/t/farcry-builder-ide-for-building-types-rules-and-forms/74 "2014-06-24T02:21:59Z")

</div>

FarCry Builder is a tool to help you quickly create new FarCry content types or reorganise and refine existing content types. It features a side-by-side live preview and code editing interface which lets you see changes …

---

## [About the dev category](https://discourse.farcrycore.org/t/about-the-dev-category/57)

<div class="topic-metadata">

**Author:** [@modius](https://discourse.farcrycore.org/u/modius)\
**Replies:** 0

</div>

This category is for topics related to hacking on FarCry Core: submitting pull requests, configuring development environments, coding conventions, and building extensions.

---

## [MySQLGateway PR](https://discourse.farcrycore.org/t/mysqlgateway-pr/1740)

<div class="topic-metadata">

**Author:** [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Replies:** 1\
**Last updated:** [June 18, 2023, 11:42pm UTC](https://discourse.farcrycore.org/t/mysqlgateway-pr/1740 "2023-06-18T23:42:14Z")

</div>

I’m working on a PR for p740 as I’m finding a few issues with MariaDB 10.2+ after upgrading from 7.2.12. I’d appreciate some advice, please. The main issue seems to stem from MariaDB 10.2+ INFORMATION\_SCHEMA reports def…

---

## [getContentObjects and arrays](https://discourse.farcrycore.org/t/getcontentobjects-and-arrays/1684)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 5\
**Last updated:** [October 29, 2022, 3:41pm UTC](https://discourse.farcrycore.org/t/getcontentobjects-and-arrays/1684 "2022-10-29T15:41:49Z")

</div>

I recently needed to search for objects which had attached images. I extended getContentObjects to work with arrays and isNull… eg getContentObjects(typename=“wbMyType”,aImages\_isNull = false") I’ll create a pull reque…

---

## [FarCry 740 Release](https://discourse.farcrycore.org/t/farcry-740-release/1691)

<div class="topic-metadata">

**Author:** [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Replies:** 3\
**Last updated:** [December 13, 2021, 11:13pm UTC](https://discourse.farcrycore.org/t/farcry-740-release/1691 "2021-12-13T23:13:05Z")

</div>

Continuing the discussion from Revisiting Farcry: Also worth noting, I should have officially released p740 long ago. It’s currently used in production and the main changes in it are related to supporting newer version…

---

## [FarCry 7.2.12 in a shared hosting environment (sandbox security)](https://discourse.farcrycore.org/t/farcry-7-2-12-in-a-shared-hosting-environment-sandbox-security/1683)

<div class="topic-metadata">

**Author:** [@proc](https://discourse.farcrycore.org/u/proc)\
**Replies:** 7\
**Last updated:** [November 23, 2020, 5:39pm UTC](https://discourse.farcrycore.org/t/farcry-7-2-12-in-a-shared-hosting-environment-sandbox-security/1683 "2020-11-23T17:39:03Z")

</div>

In order to mitigate the issues I ran into while trying to find a solution for an alleged memory issue in the FarCry core, I enabled the sandbox security feature in the ColdFusion 2018 administrator, disabled the CFExecu…

---

## [Some notes on CF 2018 Support](https://discourse.farcrycore.org/t/some-notes-on-cf-2018-support/1441)

<div class="topic-metadata">

**Author:** [@seancoyne](https://discourse.farcrycore.org/u/seancoyne)\
**Replies:** 15\
**Last updated:** [September 1, 2020, 5:02pm UTC](https://discourse.farcrycore.org/t/some-notes-on-cf-2018-support/1441 "2020-09-01T17:02:09Z")

</div>

We’re working on a new project that will launch on CF 2018. I’ve run into some hurdles trying to get FarCry running and thought I would note them here in case others run into them. CF 2018 has dropped support for the…

---

## [Typo in mime type](https://discourse.farcrycore.org/t/typo-in-mime-type/1677)

<div class="topic-metadata">

**Author:** [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Replies:** 3\
**Last updated:** [May 4, 2020, 1:20pm UTC](https://discourse.farcrycore.org/t/typo-in-mime-type/1677 "2020-05-04T13:20:45Z")

</div>

There seems to be a typo for one mime type: \<cfset stMimes\["pyc"\] = "applicaiton/x-bytecode.python" /\> Is it a typo? Is it worth fixing? Is there anything upstream which should also be rectified?

---

## [Time for a new master branch?](https://discourse.farcrycore.org/t/time-for-a-new-master-branch/1675)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 2\
**Last updated:** [March 26, 2020, 10:12pm UTC](https://discourse.farcrycore.org/t/time-for-a-new-master-branch/1675 "2020-03-26T22:12:22Z")

</div>

I see there are a lot of great fixes in the 7.2 branch over the last year or so. How about a new 7.2.13 in the master branch. Otherwise it’s a bit of a pain to keep track of changes made in the 7.2 branch.

---

## [Redirect URLs for legacy URLs](https://discourse.farcrycore.org/t/redirect-urls-for-legacy-urls/1660)

<div class="topic-metadata">

**Author:** [@dckalorama](https://discourse.farcrycore.org/u/dckalorama)\
**Replies:** 2\
**Last updated:** [August 23, 2019, 2:57am UTC](https://discourse.farcrycore.org/t/redirect-urls-for-legacy-urls/1660 "2019-08-23T02:57:12Z")

</div>

I’m working on a site redesign where I have to redirect legacy URLs (https://www.xyzsite.com/news/123/sunnyday/raintomorrow) to a single page in FarCry (https://www.xyzsite.com/news) . This seems easy to do via the webt…

---

## [oAuth & refreshToken](https://discourse.farcrycore.org/t/oauth-refreshtoken/1647)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 4\
**Last updated:** [August 13, 2019, 7:32am UTC](https://discourse.farcrycore.org/t/oauth-refreshtoken/1647 "2019-08-13T07:32:47Z")

</div>

With the MS and Google UD plugins, is there any mechanism to obtain a new token using the refresh token? (or has someone done this already?) I’m building site that relies on interacting with MS Graph api. Problem is tha…

---

## [Cfproperty type longchar](https://discourse.farcrycore.org/t/cfproperty-type-longchar/1629)

<div class="topic-metadata">

**Author:** [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Replies:** 1\
**Last updated:** [February 22, 2019, 12:12am UTC](https://discourse.farcrycore.org/t/cfproperty-type-longchar/1629 "2019-02-22T00:12:18Z")

</div>

Just a brief query - when defining FarCry entities, why does type="longchar" work? I cannot find any documentation that says this should work for ACF or Lucee. ACF cfproperty: https://helpx.adobe.com/coldfusion/cfml-ref…

---

## [FarCry Core 7.2.12 released](https://discourse.farcrycore.org/t/farcry-core-7-2-12-released/1628)

<div class="topic-metadata">

**Author:** [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 4:59am UTC](https://discourse.farcrycore.org/t/farcry-core-7-2-12-released/1628 "2019-02-19T04:59:02Z")

</div>

FarCry Core 7.2.12 has been released. This release contains some CDN and image padding related bug fixes. Bug \[FC-3176\] - Connection failure error on ioFileExists due to missing leading slash \[FC-317…

---

## [Multiple extending cfc issue](https://discourse.farcrycore.org/t/multiple-extending-cfc-issue/710)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 1:26am UTC](https://discourse.farcrycore.org/t/multiple-extending-cfc-issue/710 "2019-01-23T01:26:27Z")

</div>

Hi All I've just spent the better part for a day trying to resolve an issue where my dmEvent type was was returning incorrect meta data. eg the label or even the value. ie the catEvent was returning a date. This was onl…

---

## [Changing database on already deployed website](https://discourse.farcrycore.org/t/changing-database-on-already-deployed-website/316)

<div class="topic-metadata">

**Author:** [@philkemp](https://discourse.farcrycore.org/u/philkemp)\
**Replies:** 6\
**Last updated:** [November 25, 2014, 6:56am UTC](https://discourse.farcrycore.org/t/changing-database-on-already-deployed-website/316 "2014-11-25T06:56:58Z")

</div>

Hello all, I have a website that's been running for a few years now, and we've come across the need to change from a MS SQL database to something else (they are currently suggesting MySQL). I was wondering, apart from …

---

## [CSRF protection](https://discourse.farcrycore.org/t/csrf-protection/1577)

<div class="topic-metadata">

**Author:** [@smebberson](https://discourse.farcrycore.org/u/smebberson)\
**Replies:** 6\
**Last updated:** [November 29, 2018, 6:36am UTC](https://discourse.farcrycore.org/t/csrf-protection/1577 "2018-11-29T06:36:39Z")

</div>

Does FarCry 7 have any form of CSRF protection baked in?

---

## [FarCry Core 7.2.10 released](https://discourse.farcrycore.org/t/farcry-core-7-2-10-released/1550)

<div class="topic-metadata">

**Author:** [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Replies:** 2\
**Last updated:** [November 13, 2018, 1:09am UTC](https://discourse.farcrycore.org/t/farcry-core-7-2-10-released/1550 "2018-11-13T01:09:09Z")

</div>

FarCry Core 7.2.10 has been released. This release contains S3 CDN bug fixes including AWS4 signature support, some performance improvements, better 404 handling for some requests, and a number of security enhancements. …

---

## [Restrict mime types for dmFile](https://discourse.farcrycore.org/t/restrict-mime-types-for-dmfile/1554)

<div class="topic-metadata">

**Author:** [@mpicker](https://discourse.farcrycore.org/u/mpicker)\
**Replies:** 5\
**Last updated:** [November 2, 2018, 4:00am UTC](https://discourse.farcrycore.org/t/restrict-mime-types-for-dmfile/1554 "2018-11-02T04:00:35Z")

</div>

Hi, Is there an easy way to restrict (project wide rather than type by type) the allowed file types for anything that makes use of dmFile? As it stands there is nothing stopping exe and com etc. files from being upload…

---

## [FarCry Roadmap?](https://discourse.farcrycore.org/t/farcry-roadmap/1529)

<div class="topic-metadata">

**Author:** [@Chris\_Kent](https://discourse.farcrycore.org/u/Chris_Kent)\
**Replies:** 2\
**Last updated:** [October 17, 2018, 10:18am UTC](https://discourse.farcrycore.org/t/farcry-roadmap/1529 "2018-10-17T10:18:34Z")

</div>

Hi, I have been away from FarCry for some time, lots of Slatwall work and I have been on the dark side of the blue river for a few years. I still prefer the underlying architecture of the FarCry platform to the “other …

---

## [Returning queries as array of structs](https://discourse.farcrycore.org/t/returning-queries-as-array-of-structs/1471)

<div class="topic-metadata">

**Author:** [@modius](https://discourse.farcrycore.org/u/modius)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 3:06am UTC](https://discourse.farcrycore.org/t/returning-queries-as-array-of-structs/1471 "2018-08-28T03:06:43Z")

</div>

This probably needs a more elaborate write up… but i couldn’t help mentioning it straight away: Turns out in Lucee you can return the query as an array of structs: Why is this helpful? Well you can execute \<skin:we…

---

## [Setting up datasources via environment variables](https://discourse.farcrycore.org/t/setting-up-datasources-via-environment-variables/891)

<div class="topic-metadata">

**Author:** [@dckalorama](https://discourse.farcrycore.org/u/dckalorama)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 1:46am UTC](https://discourse.farcrycore.org/t/setting-up-datasources-via-environment-variables/891 "2018-05-29T01:46:50Z")

</div>

I have a docker container running FarCry w/ Lucee. I've tried passing in environment variables for the DSN via the docker-compose.yml file without success. So my workaround, for now, has been to add the datasource to t…

---

## [Ajax form submission and files](https://discourse.farcrycore.org/t/ajax-form-submission-and-files/1311)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 5:40am UTC](https://discourse.farcrycore.org/t/ajax-form-submission-and-files/1311 "2018-04-03T05:40:27Z")

</div>

Hi All, RE: /core/webtop/js/farcryForm.cfm Might I suggest a change to the farcryForm\_ajaxSubmission() function so that it will post file fields as well. //data: $j("##" + formname).serialize(), data: new FormData($j(…

---

## [Error trying to access site root in webtop, FarCry 7.2.9](https://discourse.farcrycore.org/t/error-trying-to-access-site-root-in-webtop-farcry-7-2-9/1226)

<div class="topic-metadata">

**Author:** [@daltec](https://discourse.farcrycore.org/u/daltec)\
**Replies:** 4\
**Last updated:** [January 19, 2018, 6:38pm UTC](https://discourse.farcrycore.org/t/error-trying-to-access-site-root-in-webtop-farcry-7-2-9/1226 "2018-01-19T18:38:54Z")

</div>

Hello, I am upgrading a site from FarCry 6 to 7.2.9. There had been a bunch of unfortunate changes to core in the old site, which has made the upgrade process challenging. It’s pretty much working, except for when I try …

---

## [REST API plugin and Coldfusion](https://discourse.farcrycore.org/t/rest-api-plugin-and-coldfusion/1178)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 3\
**Last updated:** [December 6, 2017, 2:10am UTC](https://discourse.farcrycore.org/t/rest-api-plugin-and-coldfusion/1178 "2017-12-06T02:10:17Z")

</div>

Hi All, I’ve run the plugin successfully on Lucee, but I’ve just tried installing it on CF11 and it appears not to like the argument parameters. It would appear that the in=“path” is the main culprit. Perhaps ‘in’ is re…

---

## [FarCry SolrPro - Java memory errors](https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157)

<div class="topic-metadata">

**Author:** [@dckalorama](https://discourse.farcrycore.org/u/dckalorama)\
**Replies:** 1\
**Last updated:** [November 18, 2017, 12:19pm UTC](https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157 "2017-11-18T12:19:00Z")

</div>

I'm trying to us the FarCry SolrPro plugin in a Docker container using FarCry 7.2.9 and Lucee 5.2.3.35 . I'm running into the following error - Java heap space / java.lang.OutOfMemoryError . I tried to increase the min…

---

## [FarCry 7.2.9: issue with public login form](https://discourse.farcrycore.org/t/farcry-7-2-9-issue-with-public-login-form/1112)

<div class="topic-metadata">

**Author:** [@proc](https://discourse.farcrycore.org/u/proc)\
**Replies:** 2\
**Last updated:** [October 10, 2017, 5:32am UTC](https://discourse.farcrycore.org/t/farcry-7-2-9-issue-with-public-login-form/1112 "2017-10-10T05:32:42Z")

</div>

Hello, I try to create a public login page for my site. Following modius's tutorial, I was kind of able to set-up the entire process. However, the last step, the redirection itself, does not work. The call to check f…

---

## [Custom User Directory with no login form](https://discourse.farcrycore.org/t/custom-user-directory-with-no-login-form/1095)

<div class="topic-metadata">

**Author:** [@fritz](https://discourse.farcrycore.org/u/fritz)\
**Replies:** 0\
**Last updated:** [September 26, 2017, 4:01pm UTC](https://discourse.farcrycore.org/t/custom-user-directory-with-no-login-form/1095 "2017-09-26T16:01:55Z")

</div>

Hi, I've added a custom user directory component, which works fine. However, I'd like to not have a login form for that. Meaning: I do not want a manual login mechanism available for this user directory. Unfortunately, t…

---

## [Core.packages.lib.email.cfc useful?](https://discourse.farcrycore.org/t/core-packages-lib-email-cfc-useful/1049)

<div class="topic-metadata">

**Author:** [@phillipjrasmuss](https://discourse.farcrycore.org/u/phillipjrasmuss)\
**Replies:** 3\
**Last updated:** [August 25, 2017, 11:32pm UTC](https://discourse.farcrycore.org/t/core-packages-lib-email-cfc-useful/1049 "2017-08-25T23:32:55Z")

</div>

Hi All, If I can avoid it, I don't run an email server on my machines. Instead I opt for using an email service like https://postmarkapp.com/. This normally involves me not using their api but rather their non-preferable…

---

## [\[solved\] Removing/Hiding a core tab in the webtop](https://discourse.farcrycore.org/t/solved-removing-hiding-a-core-tab-in-the-webtop/1040)

<div class="topic-metadata">

**Author:** [@modius](https://discourse.farcrycore.org/u/modius)\
**Replies:** 3\
**Last updated:** [August 15, 2017, 3:23am UTC](https://discourse.farcrycore.org/t/solved-removing-hiding-a-core-tab-in-the-webtop/1040 "2017-08-15T03:23:28Z")

</div>

I’m trying to hie the Content Tab generated by Core. I’m sure this is possible and my mind keeps telling me that adding the following to ./customadmin/bob.xml should work: \<?xml version="1.0" encoding="utf-8"?\> \<web…

---

## [FarCry Core 7.2.9 Released](https://discourse.farcrycore.org/t/farcry-core-7-2-9-released/911)

<div class="topic-metadata">

**Author:** [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Replies:** 0\
**Last updated:** [April 4, 2017, 2:08am UTC](https://discourse.farcrycore.org/t/farcry-core-7-2-9-released/911 "2017-04-04T02:08:02Z")

</div>

FarCry Core 7.2.9 has been released. Important Upgrade Note: This maintenance release contains a new JAR file for JavaLoader which means that if you are deploying your Core updates using Git you may need to stop your a…

[Next page](https://discourse.farcrycore.org/c/dev/11.md?page=1)
