span8
span4
span8
span4
Hello,
I have a workbench with an optional DATE-parameter.When I use a tester to handle that empty date,I get different 'outcomes' when running from within FME Workbench compared to running it from FME Server.FME Server says an empty date parameter 'HAS A VALUE',but directly in Workbench an empty date parameter is an 'EMPTY STRING'.I use the exact same versions for Server and Desktop (version 2018 build 18301 Win64).
Is this a bug?How can I properly handle empty dates passed via parameters?
Regards,
Frank van Doorne
Hi all,this issue had been reported to our development team and has been fixed forFME Server 2018.1 and Newer.
FME Server was converting the valuenullto a string for Date/Time – this should no longer happen,and the behaviour between Desktop and Server will match.
I'm sorry for any inconveniences and workarounds you had to implement!
Hi@MattAt亚搏在线Safe,@danilo_fme,
I have a few days off,so I am not able to send workbench and logfiles to you.But it is completely and exactly consistent with the test@takashidid.That would be sufficient I suppose.If you need my files too,please let me know.
Thans in advance,
Frank
Hi@frankvandoorne,
Is it possible that there is a default date stored in the published parameter when runnign on FME Server?One way to test would be to add in a ParamaterFetcher and follow this with a logger to see what the value is.
If you run it with FME Workbench,the _DATE stores empty string and the Tester routes the feature to the Failed port.
Log:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Feature Type: `Failed_LOGGED'Attribute(encoded: UTF-8): `_DATE' has value `'Attribute(string) : `fme_feature_type' has value `Creator'Attribute(string) : `fme_geometry' has value `fme_undefined'Attribute(string) : `fme_type' has value `fme_no_geom'Coordinate System: `'Geometry Type: IFMENull===========================================================================-----
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Feature Type: `Passed_LOGGED'Attribute(encoded: UTF-8): `_DATE' has value `null'Attribute(string) : `fme_feature_type' has value `Creator'Attribute(string) : `fme_geometry' has value `fme_undefined'Attribute(string) : `fme_type' has value `fme_no_geom'Coordinate System: `'Geometry Type: IFMENull===========================================================================Where the "null" come from?
Is possible to share us your log file generated by Workbench?And the Workspace template?
I think is better to see the possible errors.
Thanks,
Danilo
© 2019 亚搏在线Safe Software Inc |Legal