mwood77 / pf2opn

An in-browser pfsense to opnsense converter.
https://www.pf2opn.com
Other
90 stars 7 forks source link

e?.address.replaceAll is not a function #30

Closed mixman68 closed 6 months ago

mixman68 commented 7 months ago

Hello

Just tried the product, and I have this error

main.e88ec901367bee90.js:1 ERROR TypeError: e?.address.replaceAll is not a function at t.mapAliasEntity (main.e88ec901367bee90.js:1:244134) at main.e88ec901367bee90.js:1:242827 at Array.forEach () at t.mapPFtoOPN (main.e88ec901367bee90.js:1:242803) at o.onload (main.e88ec901367bee90.js:1:241830) at v.invoke (polyfills.18a047f7d412b1c1.js:1:6562) at Object.onInvoke (main.e88ec901367bee90.js:1:53367) at v.invoke (polyfills.18a047f7d412b1c1.js:1:6502) at L.runGuarded (polyfills.18a047f7d412b1c1.js:1:2066) at FileReader. (polyfills.18a047f7d412b1c1.js:1:1

mwood77 commented 7 months ago

Hi, can you please show my what your Aliases section looks like, and whether or not it's nested somewhere in another tag?

<aliases>
    <alias>
       ....
    <alias>
<aliases>

I don't need to see the content (bit between the tags), only the tags in each alias entry.

thanks!

mixman68 commented 7 months ago

Hi, can you please show my what your Aliases section looks like, and whether or not it's nested somewhere in another tag?

<aliases>
    <alias>
       ....
    <alias>
<aliases>

I don't need to see the content (bit between the tags), only the tags in each alias entry.

thanks!

image this ?

mwood77 commented 7 months ago

Yes, that's great. And that alias is nested within a parent tag of <aliases> ... </aliases> right?

mixman68 commented 7 months ago

Yes. But maybe i have non existant aliases relic in alias->address, i don't know how check that easy, it is a big firewall