You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using DSpace as a logged-in administrator and particularly when navigating the "Edit Item" tab(s) (or even just clicking "Edit Item"), we experience persistent issues with infinite load times and sluggishness in the DSpace frontend. Often this will require the user (admin) to refresh more than once to get the frontend to work.
Back in August, I submitted issue #3252 (potential duplicate of #2924) which was about the DSpace frontend web browser hanging and crashing when viewing src/app/item-page/versions/item-versions.component.html. @alexandrevryghem implemented a solution in this PR here #3253 and I copied and pasted his changes into my item-versions.component. This solved the "hanging" issue but now I suspect that this fix is potentially playing some role in my current predicament. From the DevTools console, I can tell that numerous REST API request/response mismatches are occurring, particularly related to self links in the API responses:
The response for 'https://pedsdspaceprod.research.chop.edu/server/api/versioning/versionhistories/25/versions?page=0&size=10' has the self link 'https://pedsdspaceprod.research.chop.edu/server/api/versioning/versionhistories/25/versions?page=0&embed=item&embed=eperson&size=10'. These don't match. This could mean there's an issue with the REST endpoint
In addition, I am also gettin this error, though I don't necessarily think it's relevant:
cannot deserialize type systemwidealert
Can't cache incomplete systemwidealert: null, parsed from (partial) response: {"alertId":1,"message":"Please note that PEDSnet is currently under construction.","allowSessions":"all","countdownTo":null,"active":true,"type":"systemwidealert","_links":{"self":{"href":"https://pedsdspaceprod.research.chop.edu/server/api/system/systemwidealerts/1"}}}
Occasional Solr errors too, though these are more sporadic and might also not have to do with this problem.
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.14.jar!/:4.5.14]
...
at org.dspace.qaevent.service.impl.QAEventServiceImpl.findSource(QAEventServiceImpl.java:528) ~[dspace-api-8.0.jar!/:8.0]
... 209 more
Environment:
DSpace Version: 8.0
Frontend Framework: dspace-angular (specific branch: alexandrevryghem@d09f529)
Solr Version: 8.11.3
Web Browser: Google Chrome 129.0.0.0 on macOS
Additional Context: The issue appears to be related to self-referencing entities and REST API endpoint discrepancies. I have also made a number of changes to the DSpace frontend which are not accounted for here, but nothing pertaining to the API call-and-response. I also am not sure if this is more of a backend or frontend issue and I would be happy to migrate this ticket.
To Reproduce
Steps to reproduce the behavior:
Check out d09f529 (again, maybe source of the issue, though I don't know)
Try editing items. It might not happen right away; it is occasional. But sometimes it is unrelenting and recurrent.
Expected behavior
The frontend does not hang when "Edit Item" is navigated.
Describe the bug
When using DSpace as a logged-in administrator and particularly when navigating the "Edit Item" tab(s) (or even just clicking "Edit Item"), we experience persistent issues with infinite load times and sluggishness in the DSpace frontend. Often this will require the user (admin) to refresh more than once to get the frontend to work.
Back in August, I submitted issue #3252 (potential duplicate of #2924) which was about the DSpace frontend web browser hanging and crashing when viewing
src/app/item-page/versions/item-versions.component.html
. @alexandrevryghem implemented a solution in this PR here #3253 and I copied and pasted his changes into myitem-versions.component
. This solved the "hanging" issue but now I suspect that this fix is potentially playing some role in my current predicament. From the DevTools console, I can tell that numerous REST API request/response mismatches are occurring, particularly related toself
links in the API responses:In addition, I am also gettin this error, though I don't necessarily think it's relevant:
Occasional Solr errors too, though these are more sporadic and might also not have to do with this problem.
Environment:
DSpace Version: 8.0
Frontend Framework: dspace-angular (specific branch: alexandrevryghem@d09f529)
Solr Version: 8.11.3
Web Browser: Google Chrome 129.0.0.0 on macOS
Additional Context: The issue appears to be related to self-referencing entities and REST API endpoint discrepancies. I have also made a number of changes to the DSpace frontend which are not accounted for here, but nothing pertaining to the API call-and-response. I also am not sure if this is more of a backend or frontend issue and I would be happy to migrate this ticket.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The frontend does not hang when "Edit Item" is navigated.
Related work
The text was updated successfully, but these errors were encountered: