Skip to main content
Best Answer

Dynamic writer not working in FME 2018

  • March 16, 2018
  • 6 replies
  • 50 views

Forum|alt.badge.img

I have a workspace with a dynamic writer writing to postGIS. The source for the writer is a csv spreadsheet which is loaded from a workspace resource using schema (from table). The reader reads a table named "test", and the writer outputs to a table named "Mapped". It is essentially based on this tutorial:

https://knowledge.safe.com/articles/1046/dynamic-workflow-tutorial-destination-schema-is-de-1.html

 

except that I don't use fme_feature_type as the writer table name.

This is my csv source file:

The columns all appear to be mapped correctly.

This is the writer:

This was working in FME 2017, but since I upgraded to 2018 it no longer works. I get an error message saying:

Cannot find a matching schema named 'Mapped' in the known set of schemas: ''. Known schema sources are: 'Schema from Schema Feature, SCHEMA_FROM_TABLE_1'. Please verify writer feature type configuration.

Then there's a message saying:

POSTGIS Writer: Fanout for feature type 'Mapped' failed to find feature type template 'Mapped'

I am puzzled as to why the "known set of schemas" list is showing up as empty.

I feel I must be making a silly mistake somewhere, but as I say, it was working until yesterday.

I would appreciate some help if possible.

Best answer by fmelizard

Hi @rohan and @takashi,

The issue has been resolved in 2018.0 builds 18287+ and 2018.1. 2018.0 build 18287 or higher and 2018.1 betas should be available next week through through https://www.safe.com/support/support-resources/fme-downloads/ and https://www.safe.com/support/support-resources/fme-downloads/beta/

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.

6 replies

takashi
Celebrity
  • March 16, 2018

Hi @rohan, I was able to reproduce the same issue as yours. It seems that the Schema (From Table) reader and/or the mechanism for deriving schema definition from a lookup table have been broken in FME 2018.0. It's a terrible bug if my observation was correct.

@daleatsafe, could you please check these demos?


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • March 16, 2018

Hi @rohan, I was able to reproduce the same issue as yours. It seems that the Schema (From Table) reader and/or the mechanism for deriving schema definition from a lookup table have been broken in FME 2018.0. It's a terrible bug if my observation was correct.

@daleatsafe, could you please check these demos?

Thanks for highlighting. We're on it.

 

 


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • March 16, 2018

Thanks for letting us know about this one @rohan & @takashi -- you managed to find a path through things that did get inadvertently harmed in FME 2018.0. The fix has already been made and will be made available in a hotfix shortly (and additional tests have been added to our suite so that this can't happen again).

We'll notify here when the new build is available.


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

Hi @rohan and @takashi,

The issue has been resolved in 2018.0 builds 18287+ and 2018.1. 2018.0 build 18287 or higher and 2018.1 betas should be available next week through through https://www.safe.com/support/support-resources/fme-downloads/ and https://www.safe.com/support/support-resources/fme-downloads/beta/


Forum|alt.badge.img
  • Author
  • March 21, 2018

Thanks to everyone for their help. I will download the new build when available.


takashi
Celebrity
  • March 22, 2018

Hi @rohan and @takashi,

The issue has been resolved in 2018.0 builds 18287+ and 2018.1. 2018.0 build 18287 or higher and 2018.1 betas should be available next week through through https://www.safe.com/support/support-resources/fme-downloads/ and https://www.safe.com/support/support-resources/fme-downloads/beta/

Good to hear. Thanks for the fix.