Skip to main content
Solved

FMEWorkspaceRunner getpublishedParamNames bug

  • March 9, 2018
  • 1 reply
  • 7 views

Forum|alt.badge.img

I'm writing a code to run workspaces in python but I think that I found a bug with the FMEWorkspaceRunner.getPublishedParamNames function. This function is returning the private parameters from a workspace and it shouldn't.

import sys
sys.path.append('C:\\Program Files\\FME\\fmeobjects\\python27')
import fmeobjects
runner = fmeobjects.FMEWorkspaceRunner()
print runner.getPublishedParamNames('test.fmw')

The output:

 

['a', 'b', 'privateparam']

"privateparam" is private and it is not checked as published in the workspace

Best answer by carsonlam

Thanks for reporting this issue. I've filed PR82822 to track this internally. We'll post an update to this question once there's a solution.

View original
Did this help you find an answer to your question?

1 reply

carsonlam
Safer
Forum|alt.badge.img
  • Safer
  • Best Answer
  • March 21, 2018

Thanks for reporting this issue. I've filed PR82822 to track this internally. We'll post an update to this question once there's a solution.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings