Github user scottyaslan commented on the issue:
https://github.com/apache/nifi/pull/2098
@pvillard31 I am not sure if I am testing this PR correctly... I dropped a
GenerateFlowFile processor on the canvas and had it generate a FF with some XML
text. Then I connected that to an UpdateAttribute processor and set the
mime.type to 'text/xml'. If I view the contents of a FF coming out of the
UpdateAttribute processor a new tab opens with the content viewer and the
message: 'No viewer is registered for this content type.'. I would think that I
should be able to view the xml in the code mirror editor. Now, if I stop the
processors and edit the mime.type of the UpdateAttribute config to
'application/xml' and then restart and click to view content of a FF now coming
out of the UpdateAttribute processor then a new tab opens with the content
viewer and the xml is visible in the code mirror editor.
Thoughts?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---