[jira] [Created] (MYFACES-4674) ResponseWriter: wrapped vs getWrapped() issue

2024-07-01 Thread Melloware (Jira)
Melloware created MYFACES-4674:
--

 Summary: ResponseWriter: wrapped vs getWrapped() issue
 Key: MYFACES-4674
 URL: https://issues.apache.org/jira/browse/MYFACES-4674
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 4.1.0-RC2, 4.0.2
Reporter: Melloware


Original report to Mojarra: https://github.com/eclipse-ee4j/mojarra/issues/5456

After debugging BalusC determined that Mojarra was doing the correct thing and 
MyFaces is somewhere in its chain calling the delegate/wrapped writer and not 
the `getWrapped()` writer.

*BalusC: *
{quote}Hmm ok probably MyFaces still has a wrapped-vs-getWrapped bug in its 
ResponseWriter(Wrapper) impl that it fails to invoke the 
PrimePartialResponseWriter#endDocument when given a wrapped writer.{quote}

It is NOT currently affecting anything but I thought i would open this as 
BalusC thought it was odd how MyFaces was treating the scenario.



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


[jira] [Created] (TOBAGO-2332) ColumnSelector: header element not disabled

2024-07-01 Thread Jira
Henning Nöth created TOBAGO-2332:


 Summary: ColumnSelector: header element not disabled
 Key: TOBAGO-2332
 URL: https://issues.apache.org/jira/browse/TOBAGO-2332
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core
Affects Versions: 6.4.0, 5.12.0
Reporter: Henning Nöth


The column selector header element is not disabled if .



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


[jira] [Created] (TOBAGO-2331) Lazy sheet: Ajax request contains too many keys

2024-07-01 Thread Jira
Henning Nöth created TOBAGO-2331:


 Summary: Lazy sheet: Ajax request contains too many keys
 Key: TOBAGO-2331
 URL: https://issues.apache.org/jira/browse/TOBAGO-2331
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core, JavaScript
Affects Versions: 6.4.0, 5.12.0
Reporter: Henning Nöth


If a lazy sheet contains form elements (e.g. a tc:in or a tc:button), those 
IDs/keys are put into the Ajax request to load the next batch of a lazy sheet.
There is a maximum number of keys in a request, so an error will occur if the 
user scrolls long enough.



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


[jira] [Created] (TOBAGO-2330) Lazy sheet: NPE while processing Ajax response

2024-07-01 Thread Jira
Henning Nöth created TOBAGO-2330:


 Summary: Lazy sheet: NPE while processing Ajax response
 Key: TOBAGO-2330
 URL: https://issues.apache.org/jira/browse/TOBAGO-2330
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: JavaScript
Affects Versions: 6.4.0, 5.12.0
Reporter: Henning Nöth


An error may occur if using lazy sheet. It's hard to reproduce, so we have no 
good test.

{code:javascript}
TypeError: Cannot read properties of null (reading 'querySelectorAll')
at ia.lazyResponse (tobago-sheet.ts:514:35)
at e.sendEvent (AjaxImpl.ts:400:9)
at v.sendEvent (XhrRequest.ts:386:28)
at v.onResponseReceived (XhrRequest.ts:313:14)
at n.onload (XhrRequest.ts:230:18)
{code}




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