-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S2S_added sample after sharing a case/contact does not get shared [2] #9771
Comments
The second sample is not shared because it was added after the share request has been sent and the share request on the target system doesn't contain the new sample. I'm not sure it's would be ok share more data then the accepted request contains. To send also the second sample a new share request needs to be sent. I don't consider this to be a bug. We would need a change request for changing this behaviour. |
The current situation means that neither the target system can see the sample, nor the source system can edit or view the sample. For Vaccination everything works as it should. The shared elements should be synchronised on both sides. I'm not sure it's would be ok share more data then the accepted request contains. The status of the share request is pending. As long as the target system has not accepted the share request, it is ok. To send also the second sample a new share request needs to be sent. If it can technically only be solved in this way, the share request must be revoked in the background and a new share request must be sent automatically in the background. There must be no additional effort for the user. |
Moved out of 1.74 and to be discussed. |
@leventegal-she |
…les_to_pending_share_request #9771 S2S_added sample after sharing a case/contact does not get shared
Validated ticket on a peer-testing session with Levi |
Reported by @fhauptmann: Deployment on test-de1 and test-de2 not working: Updating database to version 477... (de.symeda.sormas.backend.common.StartupShutdownService.java:738)
ERROR: column "datatype" contains null values
A system exception occurred during an invocation on EJB UpdateQueryTransactionWrapper, method: public int de.symeda.sormas.backend.common.StartupShutdownService$UpdateQueryTransactionWrapper.executeUpdate(de.symeda.sormas.backend.common.StartupShutdownService$UpdateQueryTransactionWrapper$TargetDb,java.lang.String)]]
sormas_1 |
[2022-08-01T10:32:12.203+0200] [Payara 5.2021.10] [WARNUNG] [] [javax.enterprise.ejb.container] [tid: _ThreadID=114 _ThreadName=payara-executor-service-scheduled-task] [timeMillis: 1659342732203] [levelValue: 900] [[
sormas_1 |
javax.ejb.EJBException: org.hibernate.exception.ConstraintViolationException: could not execute statement
...
at com.sun.proxy.$Proxy1141.executeUpdate(Unknown Source)
at de.symeda.sormas.backend.common.__EJB31_Generated__StartupShutdownService$UpdateQueryTransactionWrapper__Intf____Bean__.executeUpdate(Unknown Source)
at de.symeda.sormas.backend.common.StartupShutdownService.updateDatabase(StartupShutdownService.java:739)
at de.symeda.sormas.backend.common.StartupShutdownService.startup(StartupShutdownService.java:207)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
...
at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1696)
... 133 more
Caused by: org.postgresql.util.PSQLException: ERROR: column "datatype" contains null values
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2675)
...
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197)
... 137 more
]] |
…9771 - fixed failing migration
Bug Description
Added sample after sharing a case/contact does not get shared.
Steps to Reproduce
-> tested with different combinations of dates -> no difference, both samples are never visible in target system
-> with vaccinations everything is fine and works
Expected Behavior
Both samples should also be visible in target system
Screenshots
source system:

target system:

System Details
Additional Information
The text was updated successfully, but these errors were encountered: