Skip to main content
Question

AttributeRenamer - Not Showing Error

  • June 28, 2017
  • 3 replies
  • 31 views

pratap
Contributor
Forum|alt.badge.img+12

In AttributeRenamer transformer, I have added Input attribute "ATTR1" and Output Attribute as "ATTR2". Later I have added Attribute Keeper before AttributeRenamer and did not selected the "ATTR1" attribute.

But AttributeRenamer is not showing any error (Red Wheel) as it is shown in earlier version of FME.

Does any one is having same problem or not...

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.

3 replies

takashi
Celebrity
  • June 28, 2017

Hi @pratap, in my personal view, probably it's intentional behavior.

Not only in the case where an AttributeKeeper has been inserted, always you can enter any string to the Input Attributes column. A benefit from the behavior is that any attribute can be set to remove even if its name were not exposed.

On the other hand, the transformer just does nothing if the input feature doesn't have an attribute with the name that matches the string entered into the Input Attributes column, so it could not cause any side-effect.


pratap
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • June 28, 2017

Hi @takashi,

It is not changing even if we delete the attributecreator...

In older version, it is used to change to red such that we are able to identify and change the input attributes as required based on source data.

I prefer to highlight because we should know that we are passing wrong/invalid attributes rather doing nothing during translation.

I have changed the readers in 50+ work spaces unfortunately OBJECTID field has been renamed as OID in 1 reader and it did not shown any error. So now, I have to check all the 200 readers in 50 work spaces... :(


pratap
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • June 28, 2017

Hi @takashi,

Due to change in the behaviour of AttributeRenamer transformer using AttributeManager is best in this case, I think.