Hey Matthias,

I believe this PR actually fixes it: https://github.com/aerogear/aerogear-unifiedpush-server/pull/700

I noticed it yesterday when doing autofocus work as well, see a second commit there.

~ L.

On Wed, Mar 23, 2016 at 10:57 PM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi,

building master, and deploying to a fresh (I did unzip it and also ran the two CLI script right before the deployment) WildFly-10, I am getting a bug on the Wizard:

* After adding the variant, the code snippets are lacking. See here:
https://www.dropbox.com/s/8x8cptap3h5yidu/Screen%20Shot%202016-03-23%20at%2022.49.27.png?dl=0


In the console, I am getting a weird JS error:

modules.cb6244c0.js:6 TypeError: Cannot read property 'forEach' of undefined
    at Object.generate (scripts.d0f6b7bb.js:2)
    at renderSnippets (scripts.d0f6b7bb.js:2)
    at new controller (scripts.d0f6b7bb.js:2)
    at Object.invoke (modules.cb6244c0.js:4)
    at extend.instance (modules.cb6244c0.js:5)
    at nodeLinkFn (modules.cb6244c0.js:5)
    at modules.cb6244c0.js:5
    at processQueue (modules.cb6244c0.js:7)
    at modules.cb6244c0.js:7
    at Scope.$eval (modules.cb6244c0.js:7)(anonymous function) @ modules.cb6244c0.js:6
modules.cb6244c0.js:6 Notification was successfully sent
modules.cb6244c0.js:6 Application Ad successfully created
modules.cb6244c0.js:6 Variant dasdadas successfully created
modules.cb6244c0.js:6 TypeError: Cannot read property 'forEach' of undefined
    at Object.generate (scripts.d0f6b7bb.js:2)
    at renderSnippets (scripts.d0f6b7bb.js:2)
    at new controller (scripts.d0f6b7bb.js:2)
    at Object.invoke (modules.cb6244c0.js:4)
    at extend.instance (modules.cb6244c0.js:5)
    at nodeLinkFn (modules.cb6244c0.js:5)
    at modules.cb6244c0.js:5
    at processQueue (modules.cb6244c0.js:7)
    at modules.cb6244c0.js:7
    at Scope.$eval (modules.cb6244c0.js:7)

I wonder if something went wrong, when building the UI ?

-Matthias

--

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Lukáš Fryč
Software Engineer
Red Hat Mobile | AeroGear.org, FeedHenry.org