Loan Agent Aggregator stopped working

My nifty solution for generating loan forms in Specify7 has suddenly stopped working, because of a strange issue with an aggregator not doing its job. For my code to work, its crucial that loan agents are separated by a semicolon. However, I am not sure what happened, but all of a sudden the separator refuse to appear in my underlying query:

I have double checked the aggregator under record formatters and it should work, but it won’t anymore and I don’t understand why:

There is a slight possibility that this behaviour changed after a recent update…

Build Date: 9 months ago
Specify 6 Version: 6.8.03
Database Version: 6.8.03
DB Schema Version: 2.10

Hi @fedoras,

The semicolons defined as separators in the table aggregation within the DataObjFormatters app resource (which specifies the table formats and aggregations) are removed automatically in v7.9.6.2 due to a bug in whitespace stripping for that resource.

This issue only occurs when a user modifies a table format or aggregation; otherwise, it remains unchanged.

This issue will be fixed automatically for all users when updating to v7.10.2 later this spring, but for now you can run the following SQL statement to add the semicolon separators back if they are removed (after any edits to the table formats or aggregation in that discipline):

UPDATE spappresourcedata spard
SET spard.data = REPLACE(spard.data, 'separator=""', 'separator="; "')
WHERE spard.SpAppResourceID IN (
    SELECT spar.SpAppResourceID
    FROM spappresource spar
    WHERE spar.Name = 'DataObjFormatters'
);
1 Like

Thank you Grant! I incidentally checked our test installation of 7.10.2 and there it was working as usual. So the upgrade did break this momentarily, but I am glad we’re up and running again after that hotfix! :+1:t2:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.