Skip to main content
Solved

FMEWorkspaceRunner getpublishedParamNames bug

  • March 9, 2018
  • 1 reply
  • 14 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.

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

The output:

 

1['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?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

carsonlam
Safer
Forum|alt.badge.img+7
  • 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