Invalid Syntax Closing []] not found in PresideObjectService.cfc

Description

I created two objects: resource related secret:

Then I created admin.edit.xml:

When I add secret through Quick Add Button (quick add form is not customized), secret is added to database, with valid relation to reasource. But save action of resource is ending with error:

Oops! exception Encountered

Application Execution Exception
Error Type: expression : 0
Error Messages: Invalid Syntax Closing []] not found
Tag Context:
ID: ??
LINE: 1070
Template: .../preside/system/services/presideObjects/PresideObjectService.cfc

That line (preisdecms@10.8.46) is:

I’m using uuids as keys for both objects.

Value of configuratorData above line 1070 gives string that contains for example 2 uuids concatenated with comma: 1F636C88-0127-42C5-866708FBD22BFC4E,AD900FBD-0F1F-45E1-87AA82A5CB57FC54.

It will be argument of deserializeJSON function. For me it looks like that it would work for numeric id fields / keys but for uuid values it neeeds wrapping with double quote.

Any tip?

Environment

None

Activity

Show:
Dominic Watson
September 25, 2017, 8:34 AM

Thanks for this, sounds like the OneToManyConfigurator stepping in when it shouldn't (because you're using OneToManySelect). , does this look familiar?

Seb Duggan
May 2, 2018, 4:01 PM

Hi

Sorry it's taken so long to look at this...

Did you continue to have this issue? I've tested the setup you have described against Preside 10.8.46, and it seems to work perfectly. I can only assume there is/was some extra code in your app which you haven't listed above which is causing the issue.

Assignee

Seb Duggan

Reporter

Łukasz Ważny

Labels

None

Accepted

None

Affects versions

Priority

Medium
Configure