Modules of type 'Survey' made public generate incorrect links for non-roled users if the survey name contains a space.

This issue occurs only when logged out and if the module is accessed via the public method described in Modify a survey definition. When logged in, the module works as expected.

Steps to Reproduce


  1. Navigate to Survey > Legacy Surveys > Masters.
  2. Click New.
  3. Enter PRB Test Survey in the Name field.
  4. Right-click on the form header, and choose Save.
  5. Navigate to System Definition > Application Menus.
  6. Open the record with the title Self-Service.
  7. Add the public role to the record, and press Update.
  8. Navigate to System Definition > Modules.
  9. Click New.
  10. Use the following details for the new record, then press Submit:
    • Title: PRB Test Survey Module
    • Application menu: Self-Service (itil_self_service)
    • Roles: public
    • Link type: Survey
    • Survey: PRB Test Survey
  11. Navigate to System Diagnostics > Cache Flush.
  12. Log out.
  13. Reload the entire page.
  14. Navigate to Self-Service > PRB Test Survey Module.

Instead of the survey loading within the iframe of the nav_to.do page, the following behavior occurs:

  • The iframe of the nav_to.do page is blank.
  • The URL contains unusual characters, for example:


  • The following JavaScript error appears in the browser's console:

    Uncaught TypeError: Cannot read property 'removeAttribute' of null


Change the module's Link type to URL (from Arguments:) instead. Within the Arguments field, paste the URL of the survey.

You can find the URL of the survey by opening the Survey you created (survey_master) in its own tab/window and then clicking the Take Survey UI Action. The page that loads is the survey_take.do page with the appropriate parameters to access that particular survey. You should use the last part of the URL in the Arguments field of the module. For example, use the bold section in the following URL:


Related Problem: PRB691034

Seen In

Helsinki Patch 1

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-09-13 15:09:04