Forums

Forums / Bugs & Issues / Script Error when enabling "Minify Output" of Rules Manager

Script Error when enabling "Minify Output" of Rules Manager

4 posts, 0 answered
  1. Richard Funk_2
    Richard Funk_2 avatar
    14 posts
    Registered:
    28 Oct 2019
    03 Oct 2023
    Link to this post
    I have had issues several times now when using the "Minify Output" setting of the rules manager. It is causing script errors in developer tools and javascript on the page is broken. I believe the error I have seen is the same each time I have seen this: Uncaught SyntaxError: Unexpected token','. This seems to be dependent on what is in the rules manager as I have quite a few rules managers with this enabled and no problems. I have not yet found a pattern as to what is causing this to happen.

    As soon as I uncheck "Minify Output" in the rules manager settings, this error goes away and the page works as expected.
  2. Rawdon Edghill
    Rawdon Edghill avatar
    76 posts
    Registered:
    16 Dec 2020
    04 Oct 2023
    Link to this post
    Hi Richard,

    Just to confirm is this occurring in your dev environment that was recently updated to the latest TPC build?

    Regards,
    Rawdon
  3. Richard Funk_2
    Richard Funk_2 avatar
    14 posts
    Registered:
    28 Oct 2019
    04 Oct 2023 in reply to Rawdon Edghill
    Link to this post
    Hello Rawdon,

    Yes, this is happening in all environments. All environments are running the latest TPC 107 build (v6.2.142.107).

    Thanks,

    Rich
  4. Rawdon Edghill
    Rawdon Edghill avatar
    76 posts
    Registered:
    16 Dec 2020
    16 Oct 2023
    Link to this post
    Hi Richard,

    Can you reach out to support so that a ticket/case can be created for this issue. 

    Regards,
    Rawdon
4 posts, 0 answered