Bug18611757


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/context/flash/ELFlash.java

- In setCookie() account for a problem introduced in 2.1 (fixed in 2.2):

  In 2.1 we added ExternalContext.isSecure() but neglected to add
  ExternalContextWrapper.isSecure().  Thus, parties that wrap
  ExternalContext, yet fail to override isSecure() (and
  setSessionMaxInterval() (also fixed in 2.2)) will get an
  UnsupportedOperationException without this fix.

  The fix is to inspect the return from ExternalContext.getRequest().
  If it is a ServletRequest, just go ahead and call isSecure().  If not,
  only call ExternalContext.isSecure() if the ExternalContext is not
  wrapped.

A       test/agnostic/flash/wrappedExtContext
A       test/agnostic/flash/wrappedExtContext/nbactions.xml
A       test/agnostic/flash/wrappedExtContext/src
A       test/agnostic/flash/wrappedExtContext/src/test
A       test/agnostic/flash/wrappedExtContext/src/test/java
A       test/agnostic/flash/wrappedExtContext/src/test/java/com
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces/test
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces/test/agnostic
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces/test/agnostic/flash
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces/test/agnostic/flash/wrappedExtContext
A       test/agnostic/flash/wrappedExtContext/src/test/java/com/sun/faces/test/agnostic/flash/wrappedExtContext/Issue18611757IT.java
A       test/agnostic/flash/wrappedExtContext/src/main
A       test/agnostic/flash/wrappedExtContext/src/main/resources
A       test/agnostic/flash/wrappedExtContext/src/main/webapp
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/first.xhtml
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/second.xhtml
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/WEB-INF
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/WEB-INF/web.xml
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/agnostic/flash/wrappedExtContext/src/main/webapp/WEB-INF/faces-config.xml
A       test/agnostic/flash/wrappedExtContext/src/main/java
A       test/agnostic/flash/wrappedExtContext/src/main/java/cic1440b
A       test/agnostic/flash/wrappedExtContext/src/main/java/cic1440b/MyPortletRequest.java
A       test/agnostic/flash/wrappedExtContext/src/main/java/cic1440b/MyExternalContext.java
A       test/agnostic/flash/wrappedExtContext/src/main/java/cic1440b/Cic1440bBean.java
A       test/agnostic/flash/wrappedExtContext/src/main/java/cic1440b/MyExternalContextFactory.java
A       test/agnostic/flash/wrappedExtContext/pom.xml
M       test/agnostic/flash/pom.xml

- New test.  Way more work than the actual fix, but necessary on such an
  old code line.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13370 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-3325, backport JAVASERVERFACES-3323 to 2.1.x

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13383 761efcf2-d34d-6b61-9145-99dcacc3edf1
Commenting out old GF repos

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13390 761efcf2-d34d-6b61-9145-99dcacc3edf1
Bumping to 2.1.30-SNAPSHOT

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13393 761efcf2-d34d-6b61-9145-99dcacc3edf1
test commit

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13424 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-3270


SECTION: Modified Files
----------------------------
M       test/agnostic/facelets/html/nbactions.xml
A         test/agnostic/facelets/html/src/test/java/com/sun/faces/test/agnostic/facelets/html/Issue3270IT1.java
A         test/agnostic/facelets/html/src/main/webapp/panelGroupStyle.xhtml

- Backport test, to refute Kevin Jackson's claim that this problem
  manifests in JSF 2.1.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@13425 761efcf2-d34d-6b61-9145-99dcacc3edf1