]> SALOME platform Git repositories - tools/siman.git/commit
Salome HOME
Fix for removing a document with new attached file: ConvertsRelation was not removed...
authorrkv <rkv@opencascade.com>
Sat, 29 Dec 2012 11:02:16 +0000 (11:02 +0000)
committerrkv <rkv@opencascade.com>
Sat, 29 Dec 2012 11:02:16 +0000 (11:02 +0000)
commite239e95ec3924d357bcc03d234c73c7d8534461c
tree23234f8be404d53a7ac0ba8602c13ef3709ed2bc
parent60504fe50df03b2a83ff0e974d3a9d1435f6ec88
Fix for removing a document with new attached file: ConvertsRelation was not removed from the set of relations because of hashCode() changing due to persistent id generation. Now UID is used in equals() and hashCode().
Fix for attaching a file to a document: the file and ConvertsRelation was not created.
Fix for removing of a document from scenario: new attached file and ConvertsRelation are replicated and not deleted.
16 files changed:
Workspace/Siman-Common/src/org/splat/dal/bo/kernel/Entity.java
Workspace/Siman-Common/src/org/splat/dal/bo/kernel/IdGenerator.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/bo/kernel/Persistent.hbm.xml
Workspace/Siman-Common/src/org/splat/dal/bo/kernel/Persistent.java
Workspace/Siman-Common/src/org/splat/dal/bo/som/Publication.hbm.xml
Workspace/Siman-Common/src/org/splat/service/DocumentServiceImpl.java
Workspace/Siman-Common/src/org/splat/service/PublicationServiceImpl.java
Workspace/Siman-Common/src/org/splat/service/StepServiceImpl.java
Workspace/Siman-Common/src/spring/businessServiceContext.xml
Workspace/Siman-Common/src/test/splat/service/TestPublicationService.java
Workspace/Siman-Common/src/test/splat/service/TestStepService.java
Workspace/Siman/WebContent/jap/splat-launcher.jar
Workspace/Siman/WebContent/jap/splat-signedlauncher.jar
Workspace/Siman/src/org/splat/module/SaveDocumentAction.java [deleted file]
Workspace/Siman/src/spring/applicationContext.xml
Workspace/Siman/src/struts.xml