[
https://issues.apache.org/jira/browse/NIFI-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474584#comment-16474584
]
ASF GitHub Bot commented on NIFI-5189:
--------------------------------------
Github user JohannesDaniel commented on the issue:
https://github.com/apache/nifi/pull/2700
@markap14 I wanted to fix this before finishing the XMLRecordSetWriter. I
especially expect beginners to use the schema access via the text property -
they should not run into this problem.
> If a schema is accessed using 'Use 'Schema Text' Property', the name of the
> schema is not available
> ---------------------------------------------------------------------------------------------------
>
> Key: NIFI-5189
> URL: https://issues.apache.org/jira/browse/NIFI-5189
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Johannes Peter
> Assignee: Johannes Peter
> Priority: Major
>
> If a schema is accessed using 'Use 'Schema Text' Property', the Avro schema
> object will be transformed to a RecordSchema using the method
> AvroTypeUtil.create(Schema avroSchema). This method returns a RecordSchema
> with an empty SchemaIdentifier. Therefore, the name of the schema cannot be
> accessed. The method should at least return a RecordSchema with a
> SchemaIdentifier containing the name of the schema.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)