[ 
https://issues.apache.org/jira/browse/TOMEE-4355?focusedWorklogId=925432&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-925432
 ]

ASF GitHub Bot logged work on TOMEE-4355:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jul/24 11:55
            Start Date: 11/Jul/24 11:55
    Worklog Time Spent: 10m 
      Work Description: jungm commented on code in PR #1278:
URL: https://github.com/apache/tomee/pull/1278#discussion_r1673885611


##########
tomee/tomee-mojarra/src/main/java/org/apache/tomee/mojarra/owb/MojarraAfterBeanDiscoveryDecorator.java:
##########
@@ -0,0 +1,76 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.tomee.mojarra.owb;
+
+import jakarta.enterprise.context.spi.Context;
+import jakarta.enterprise.inject.spi.AfterBeanDiscovery;
+import jakarta.enterprise.inject.spi.AnnotatedType;
+import jakarta.enterprise.inject.spi.Bean;
+import jakarta.enterprise.inject.spi.ObserverMethod;
+import jakarta.enterprise.inject.spi.configurator.BeanConfigurator;
+import jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator;
+import org.apache.webbeans.config.WebBeansContext;
+
+public class MojarraAfterBeanDiscoveryDecorator implements AfterBeanDiscovery {
+    private final AfterBeanDiscovery delegate;
+    private final WebBeansContext webBeansContext;
+
+    public MojarraAfterBeanDiscoveryDecorator(final AfterBeanDiscovery 
delegate) {
+        this.delegate = delegate;
+        this.webBeansContext = WebBeansContext.currentInstance();

Review Comment:
   done





Issue Time Tracking
-------------------

    Worklog Id:     (was: 925432)
    Time Spent: 50m  (was: 40m)

> mojarra faces.js is truncated
> -----------------------------
>
>                 Key: TOMEE-4355
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4355
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 10.0.0-M1
>         Environment: macOS, java 17
>            Reporter: Jens Heitmann
>            Priority: Major
>         Attachments: image-2024-07-02-14-09-44-214.png, test.war
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I've just test the 10. M1 release. Several things are working, but the 
> faces.js is truncated, which results in some Ajax errors. It is working with 
> wildfly and the old java version too.
> I've created a small project showing this bug. Maybe it's a configuration 
> fault, but I think it may be a good to have a view on it. Because it is 
> working in other environments and a quite simple project, and if it is really 
> a bug, it might be very important.
> For testing
> Deploy.the war and open the browsers development console. Check the faces.js 
> in the Sources view. Scroll to the bottom and you will see that it is 
> truncated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to