[ 
https://issues.apache.org/jira/browse/SLING-11168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500744#comment-17500744
 ] 

Stefan Seifert commented on SLING-11168:
----------------------------------------

it seems to be more a composum issue. the only difference is see when opening 
componsum on a working instance compared to a broken instance is the content of 
this JS file:
http://localhost:8080/bin/public/clientlibs.min.js/PsEKh_JItUQ/composum.nodes.console.base.js

on the broken instance a whole block is missing starting with 
{{(function(g){window.composum=window.CPM=window.CPM||{};CPM.namespace...}}

this block is setting up (amongst other) a method {{window.core.getWidget}} 
within the browser - and because this is missing, the additional login dialog 
pops in 
([code|https://github.com/ist-dresden/composum-nodes/blob/dad4929d332358cb35d494f4e48e94a9f2806566/console/src/main/resources/root/libs/composum/nodes/console/components/tryLogin/tryLogin.jsp#L54-L68]).
 the question is: why is the composum JS file missing this part when started on 
windows. the actual error message shown in the composum login dialog is 
misleading.

> Sling Starter 12: Unable to launch Composum
> -------------------------------------------
>
>                 Key: SLING-11168
>                 URL: https://issues.apache.org/jira/browse/SLING-11168
>             Project: Sling
>          Issue Type: Bug
>          Components: Starter
>    Affects Versions: Starter 12
>            Reporter: Stefan Seifert
>            Priority: Major
>         Attachments: error.log, image-2022-03-01-17-47-08-965.png, 
> screenshot-1.png, starter-12-windows.log
>
>
> environment:
> * Windows 10
> * java 11.0.13 2021-10-19 LTS
> started sling starter 12 (or actually 13-SNAPSHOT from current master branch) 
> with:
> {noformat}
> mvn clean install
> java -jar target/dependency/org.apache.sling.feature.launcher.jar -f 
> target/slingfeature-tmp/feature-oak_tar.json
> {noformat}
> when trying to access composum via http://localhost:8080/bin/browser.html i 
> get the normal sling login (if not logged in already) and login as 
> admin/admin.
> directly after this i see a blink of composum, which is replaced immediately 
> with another composum login dialog:
> [^image-2022-03-01-17-47-08-965.png]
> [^error.log] from the instance



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to