Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-1036

Export/Used by Report error when projects use a Fields Required Validator by JWME

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 2.4.8
    • Labels:
      None
    • Critical Points:
      0

      Description

      When a workflow contains a Required fields validator from the JWME add on which uses the structure below: 

       

      <validators>
              <validator name="" type="class">
                <arg name="hidFieldsList"></arg>
                <arg name="fieldKey">customfield_xxxxx,customfield_xxxxx,customfield_xxxx</arg>
                <arg name="errorMessage">sample error text </arg>
                <arg name="class.name">com.innovalog.jmwe.plugins.validators.FieldRequiredValidator</arg>
              </validator>
      

      Then this generates an error similar to below when the Used By Report or an Export is ran: 

      [Project XXXX] [Workflow scheme XXXXXXX] [Workflow XXXXXX]
       [ Translating custom field Id 
      customfield_xxxxx,customfield_xxxxx,customfield_xxxxx] For input string:
       "xxxx,customfield_xxxxx,customfield_xxxxx"
      

      The same problem occurs when exporting a configuration that contains that workflow.

      This validator should be handled by Project Configurator.

       

        Attachments

          Issue Links

            Structure

              Activity

                People

                Assignee:
                pmaranon Pepe Maranon
                Reporter:
                kwalker Kristian Walker
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Structure Helper Panel