Skip to main content
Solved

Mandatory Geometry Parameter?

  • December 10, 2020
  • 4 replies
  • 18 views

drc43
Contributor
Forum|alt.badge.img+11
  • Contributor

I have built an app with a geometry published parameter as input for the user. In my workspace I have the 'Optional' box unchecked, meaning it is a mandatory (not optional) parameter. However, when it is left blank and the app is submitted, I don't get a prompt telling me that it is needed. The job is submitted to server but fails right away, because it doesn't have a location. Other mandatory published parameters give a prompt to the user if they are left blank when the user tries to submit them. Is this a bug that the job is allowed to be submitted when a mandatory geometry parameter is left blank?

Best answer by siennaatsafe

drc43 wrote:

Hi @siennaatsafe​,

I'm wondering if you or any of your fellow FME staff have any information on this. This is becoming a bit of an issue for me. Thanks.

Hi @drc43​ ,

 

I'm sorry but I believe this is a bug. We should be treating the GEOM parameter the same as others. I've moved this question over to a case. I'll file an issue for this and attach it to the case.

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

4 replies

davtorgh
Contributor
Forum|alt.badge.img+11
  • Contributor
  • December 10, 2020

Hi @drc43​ ,

 

very strange. Do you get the same behaviour in both FME Desktop and FME Server? What FME Desktop and Server versions are you using?

You can have a look at this Data Distribution Service sample apps (there is also a tutorial), that does something similar to your use case: if you leave the "Area of Interest" parameter empty and run the workspace, the browser shows a message saying that "There was nothing to donwload...", but the error is managed (I mean the workspace does not terminate abnormally).

 

Hope that helps!

 


drc43
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • December 10, 2020
davtorgh wrote:

Hi @drc43​ ,

 

very strange. Do you get the same behaviour in both FME Desktop and FME Server? What FME Desktop and Server versions are you using?

You can have a look at this Data Distribution Service sample apps (there is also a tutorial), that does something similar to your use case: if you leave the "Area of Interest" parameter empty and run the workspace, the browser shows a message saying that "There was nothing to donwload...", but the error is managed (I mean the workspace does not terminate abnormally).

 

Hope that helps!

 

Hey @davtorgh​ ,

 

No, the behavior is different. On FME Desktop, it behaves as expected, with the Run button being greyed out until a value is entered in the Geometry parameter. It's only on Server that it happens, and both in the app and on the Run Workspace page of the UI. Both are v2020.2 build 20787.


drc43
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 21, 2021

Hi @siennaatsafe​,

I'm wondering if you or any of your fellow FME staff have any information on this. This is becoming a bit of an issue for me. Thanks.


siennaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • Best Answer
  • January 21, 2021
drc43 wrote:

Hi @siennaatsafe​,

I'm wondering if you or any of your fellow FME staff have any information on this. This is becoming a bit of an issue for me. Thanks.

Hi @drc43​ ,

 

I'm sorry but I believe this is a bug. We should be treating the GEOM parameter the same as others. I've moved this question over to a case. I'll file an issue for this and attach it to the case.


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