stable

Clone or download

Read-only

request #8057 Add transaction in new changeset creation

This commit add transaction in the new changeset creation process when updating an artifact Change-Id: I6f262afdeb39952ca01b0cbdd75821d1fe901dab

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetAtGivenDateCreator.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +32 −6 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/AfterSaveException.class.php +26 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/ChangesetCommitException.class.php +26 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/ChangesetNotCreatedException.class.php +26 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/CommentNotStoredException.class.php +26 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/FieldValueNotStoredException.class.php +26 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ProcessChildrenTriggersCommand.class.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +11 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Date.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php +7 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_OpenList.class.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_String.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedBy.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedOn.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_DateDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_FloatDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_IntegerDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_ListDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_OpenListDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_PermissionsOnArtifactDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_TextDao.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/ReferenceManager.class.php +8 −6 Go to diff View file
M plugins/tracker/include/autoload.php +7 −2 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +20 −1 Go to diff View file
M src/common/reference/ReferenceManager.class.php +4 −2 Go to diff View file