Skip to content

Comments

6230 changes for upcoming glassfish upgrade#6523

Merged
kcondon merged 12 commits intodevelopfrom
6230-glassfish-upgrade
Jan 17, 2020
Merged

6230 changes for upcoming glassfish upgrade#6523
kcondon merged 12 commits intodevelopfrom
6230-glassfish-upgrade

Conversation

@scolapasta
Copy link
Contributor

@scolapasta scolapasta commented Jan 15, 2020

What this PR does / why we need it:

These PR makes changes that allow the app to run with JSF 2.3 (specifically 2.3.14) and will allow us to upgrade our app server.

Which issue(s) this PR closes:
It is in progress for #6230, but we are also still looking for other issues.
It does close #6472 as I fixed it here before realizing it happens in current prod (and opened up this issue)

Special notes for your reviewer:
there are 3 fundamental changes:
• don't store ids (and alias for dataverse) from the viewParam in as the id (or alias) of an object, but have dedicated fields on the backing bean
• for viewparams that refer to fields that can change and used after partial submits, switch to omnifaces view params
• for converters don't use @inject or @ejb annotation

Suggestions on how to test this:
An overall smoke test could be good, but some specific things based on the changes:
• Initial load of dataverse and dataset page
• edit dataset button works
• converters, so basically things like role permissions autocomplete, facet selection, metadata selection

Note: the purpose of this PR is not to fix anything specifically, but to not introduce new bugs when deploying to a later app server; so, while if you find a bug, please verify if that bug already exists in the current code base.

Does this PR introduce a user interface change?:

No.

Is there a release notes update needed for this change?:

No. Though eventually there will be, when we upgrade app server, the purpose of this PR is to proactively get these changes in, but still run on glassfish 4.1.

Additional documentation:

@coveralls
Copy link

coveralls commented Jan 15, 2020

Coverage Status

Coverage decreased (-0.006%) to 19.496% when pulling 7c14470 on 6230-glassfish-upgrade into 098611a on develop.

@scolapasta scolapasta changed the title 6230 glassfish upgrade 6230 changes for upcoming glassfish upgrade Jan 15, 2020
@pdurbin pdurbin self-assigned this Jan 15, 2020
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been watching the commits as they come in and they all look fine to me. Approved. Moving to QA. The only slight surprise is that this pull request aims to fix #6472 so that issue should definitely be tested. This was already mentioned in the testing guidance in the description of this pull request.

@kcondon kcondon assigned kcondon and unassigned pdurbin Jan 15, 2020
@kcondon kcondon closed this Jan 16, 2020
@kcondon kcondon reopened this Jan 16, 2020
@kcondon
Copy link
Contributor

kcondon commented Jan 16, 2020

This looks ok to merge, all functionality appears working.

@kcondon kcondon merged commit 96fbb75 into develop Jan 17, 2020
@kcondon kcondon deleted the 6230-glassfish-upgrade branch January 17, 2020 17:12
@pdurbin pdurbin added this to the 4.19 milestone Jan 17, 2020
@scolapasta scolapasta restored the 6230-glassfish-upgrade branch January 17, 2020 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with validation on Dataverse Page

5 participants