Nice find and thanks for the contrib/fix!  Already merged.

There are plenty of things in already for a release to be worthwhile.  Will
have the discussion on dev.

Thanks

On Mon, Mar 12, 2018 at 12:12 PM, Jorge Machado <[email protected]> wrote:

> Yes,
>
> I opened a PR: https://github.com/apache/nifi/pull/2531/files
>
>
> Jorge Machado
>
>
>
>
>
>
> On 12 Mar 2018, at 09:46, Ed B <[email protected]> wrote:
>
> Looks like a bug. The code should be:
>
> dto.setArtifact(bundle.getArtifact());
> dto.setGroup(bundle.getGroup());
> dto.setVersion(bundle.getVersion());
>
> But it uses newly created dto object, instead of bundle object given as an
> argument.
>
> On Mon, Mar 12, 2018, 4:24 AM Jorge Machado <[email protected]> wrote:
>
>> After some time of debugging I found this here:
>> How is this possible ???
>> Group is still null after being set.. the same happens for version.
>> <Screen Shot 2018-03-12 at 09.22.40.png>
>>
>>
>> Jorge Machado
>>
>>
>>
>>
>>
>> On 12 Mar 2018, at 08:46, Jorge Machado <[email protected]> wrote:
>>
>> Hello everyone,
>>
>> I we setting up the Nifi registry are we are getting this error when
>> trying to import a flow from Registry into Nifi:
>>
>> Multiple versions of …. exist. No exact match for default:...:unversioned.
>>
>> To note that we have multiple versions of the same processor in the lib
>> folder (which works for Templates)
>> Our Manifest inside the nar file looks like this:
>> Manifest-Version: 1.0
>> Implementation-Title: componentName
>> Implementation-Version: 1.5.9.rc.1
>> Nar-Dependency-Group: org.apache.nifi
>> Nar-Version: 1.5.9.rc.1
>> Nar-Dependency-Version: 1.5.0
>> Nar-Id: componentName
>> Nar-Group: com.componentName
>> Nar-Dependency-Id: nifi-standard-services-api-nar
>>
>> I see this on the Nifi Logs:
>> 2018-03-12 08:33:51,304 INFO [NiFi Web Server-94] 
>> o.a.n.w.a.c.IllegalStateExceptionMapper
>> java.lang.IllegalStateException: Multiple versions of
>> com.gfk.nifi.processor.customlogging.CustomLogger exist. No exact match
>> for default:ipmvp-nifi-customlogattribute:unversioned.. Returning
>> Conflict response.
>>
>> Any Ideias ?
>>
>> Jorge
>>
>>
>>
>>
>>
>>
>>
>

Reply via email to