Hi Peter,

Thanks for reply.
I've tested it again and you are half-right. kkk
1) If I use a non-existing variable, a got error;
2) If I use an existing variable, it's ok, BUT;
3) If I use an existing variable AND commit the flow to the NiFi Registry,
I can't import that flow anymore. I got same error as case #1;
4) If same case as #3, I can import a early version (without import
problems), then "change version" to the problematic one, it works fine.
Seems the issue is when creating new components with variable references in
the import process, along with using non-existing variable in UI.

I've tested with processors and other controller services, and with other
properties in DBCPConnectionPool, but it seems to be a very specific issue
with property "Database Driver Location(s)" in DBCPConnectionPool
controller service.
I'll open a JIRA for this.

Thanks.
Eduardo Fontes

On Fri, Sep 10, 2021 at 5:21 AM Peter Turcsanyi <[email protected]>
wrote:

> Hi Eduardo,
>
> I managed to replicate the issue with a non-existing variable reference but
> it properly works for me if the variable exists.
> Could you please double check it on your side?
>
> The non-existing variable case is definitely an issue that could have been
> brought in with NIFI-8206 or NIFI-8429 (further investigation needed to
> identify the root cause).
>
> Regards,
> Peter Turcsanyi
>
> On Thu, Sep 9, 2021 at 11:14 PM Eduardo Fontes <[email protected]>
> wrote:
>
> > Hi all,
> >
> > Can someone test a thing in NiFi 1.14?
> >
> > 1) Create a DBCPConnectionPool in a Process Group;
> > 2) In property "Database Driver Location(s)"set any variable (existing or
> > not), like ${teste-var};
> > 3) Click Apply
> >
> > To me, the UI give error but save the value. If I commit this in NiFi
> > Registry, I can not import the flow.
> >
> > Somebody tell me if this happens only with my system or not, please.
> >
> > Thanks so much.
> > Eduardo Fontes
> >
>

Reply via email to