make the application build w/ PrimeFaces 7#6281
Conversation
| <groupId>org.primefaces</groupId> | ||
| <artifactId>primefaces</artifactId> | ||
| <version>6.2</version> | ||
| <version>7.0</version> |
There was a problem hiding this comment.
7.0.8 is shown at https://www.primefaces.org/downloads/ but my understanding is that we cannot use it without paying for it. There seem to be a variety of bug fixes in https://github.com/primefaces/primefaces/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A7.0.8 for example. Longer term I think we should not depend on software where that requires you to pay for security updates. primefaces/primefaces#4913 is an example of a cross-site scripting vulnerability that was fixed in PrimeFaces 7.0.5. See also some related discussion about security concerns for open source projects using PrimeFaces in the following places:
|
@pdurbin OK, I'm happy to discuss but is that a reason to hold up this PR? I assume there were many security fixes (and other good stuff) included in 7, so while I'm happy to discuss longer term plans I don't see any reason not to upgrade now. |
|
@djbrooke no, there is no need to hold up this PR. We're in an unfortunate situation when it comes to security but what I'd like is a strategy for how to not having cross-site scripting vulnerabilities such as primefaces/primefaces#4913 in Dataverse. Should I create an issue for that specific security vulnerability as an example and we'll talk as a team about how to address it? |
|
@pdurbin Thanks for letting me know it won't hold up this PR. I'll move it to QA. I think creating an issue for the Primefaces issue is fine, about whether to address it as a one off or to get consensus around a longer term strategy. Sounds like a good tech hours (or other venue) discussion with @scolapasta and other devs. |
|
Helping @kcondon with testing for this and I got the message below under "Verbose" in Chrome Dev Tools once on dataverse-internal when loading the dataverse search page. I haven't been able to reproduce it on either dataverse-internal, production, or demo since. Not sure if it's related to this change, I'll let others decide. :)
Otherwise everything looks good! Nice work! |
|
Found this in browser console when editing file metadata from file page. Everything worked fine though: |
|
After looking over the
None of these seem to cause any functionality to break. I was able to find a smoking gun related to the Uncaught TypeError on the file pg ( |
Related Issues
Pull Request Checklist