Skip to main content
Participant
July 18, 2025
Question

CF2021 Update 21 - Errors with schedule tasks - ISVALIDPUBLISHPATH is undefined in TASK

  • July 18, 2025
  • 1 reply
  • 667 views

Since updating to update 21 from update 20, opening Scheudle Tasks in cfadmin is erroing on some scheduled tasks that were created before update 21. 

 

The impacted tasks can be edited and resaved which will clear the error.

New scheduled tasks can be created and appear to be working as normal. 

 

The error we're seeing for impacted tasks: 

Element ISVALIDPUBLISHPATH is undefined in TASK.

The error occurred in scheduletasks.cfm: line 700
Called from scheduletasks.cfm: line 568
Called from scheduletasks.cfm: line 567
Called from scheduletasks.cfm: line 564
Called from scheduletasks.cfm: line 524
Called from scheduletasks.cfm: line 482
Called from scheduletasks.cfm: line 1

    1 reply

    BKBK
    Community Expert
    Community Expert
    July 18, 2025

    First thing to try before we look further:

    1.  Stop ColdFusion.
    2.  Empty the directory /bin/felix-cache. That is, delete everything from it.
    3.  Restart ColdFusion.
    4.  Check whether the issue has been resolved.

    These steps resolve the majority of issues resulting from recent ColdFusion updates.

     

    BKBK
    Community Expert
    Community Expert
    July 18, 2025

    In addition, the release notes for ColdFusion 2021 Update 21 contain the following warning:

    quote

    If you have added custom entries to the pathfilter.json file for scheduled task output file allowlisting, you must either:

    • Back up the pathfilter.json file before applying the update, or

    • Restore it from the update backup after applying the update.

    The backup copy of the file can be found at:
              \hf-updates\hf-2021-00021-330446\backup\lib\pathfilter.json