User Tools

Site Tools


extensions:itop-object-copier

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
extensions:itop-object-copier [2018/12/19 11:40]
127.0.0.1 external edit
extensions:itop-object-copier [2019/04/23 12:01] (current)
vdumas
Line 4: Line 4:
 description_wiki : Configure ​ user actions to simplify and automate processes. Eg create an incident from a CI. description_wiki : Configure ​ user actions to simplify and automate processes. Eg create an incident from a CI.
 index_hidden ​    : yes index_hidden ​    : yes
-version ​         : 1.2.0 +version ​         : 1.3.2 
-release_dt ​      : ​2018-01-26 +release_dt ​      : ​2019-03-26 
-itop-version-min :  +itop-version-min : 2.6.0
-dependencies_s ​  : none +
-download_url ​    : http://www.combodo.com/​itop-extensions/​combodo-user-actions-configurator-1.2.0-291.zip+
 code             : combodo-user-actions-configurator code             : combodo-user-actions-configurator
-alternate-name ​  : Object Copier+state            : stable 
 +product_hidden ​  : included
 alias-code_hidden : itop-object-copier alias-code_hidden : itop-object-copier
-module-lists_hidden : itop-object-copier/​1.2.0+alternate-name ​  : Object Copier 
 +module-lists_hidden : itop-object-copier/​1.3.
 +diffusion ​       : iTop Hub
 ---- ----
  
Line 69: Line 70:
 ===== Limitations ===== ===== Limitations =====
 The following types of attributes are currently not handled and therefore cannot be preset (and no error message is given): The following types of attributes are currently not handled and therefore cannot be preset (and no error message is given):
-  * Attachments 
   * Blobs   * Blobs
   * Stop watches   * Stop watches
  
-Using //​apply_stimulus()//​ on the //created object// does not work. +<note warning>Using //​apply_stimulus()//​ on the //created object// does not work. 
 //If used in preset, the form is shown with the object id and the relevant buttons depending on the new state but then it fails to "​create"​ the object because it was created already during the stimuli processing//​ //If used in preset, the form is shown with the object id and the relevant buttons depending on the new state but then it fails to "​create"​ the object because it was created already during the stimuli processing//​
 +</​note>​
 ===== Requirements ===== ===== Requirements =====
  
Line 80: Line 81:
  
 ===== Revision History ===== ===== Revision History =====
-^  ​Version ​ ​^  ​Release Date  ​^ ​ Comments ​ ^ +^  ​Release Date  ​^  ​Version ​ ​^ ​ Comments ​ ^ 
-|  1.2.0  |  2018-01-26 ​ | Add copy_head verb for CaseLog attributes - allow creation of a new ticket from the latest log | +|  2019-03-26  ​|  1.3.2  | * Fix Issue when copying list with object copier \\         * Fix Custom Date format in Stencils actions | 
-|  1.1.9  ​|  2017-11-13 ​ | Fix error displayed in error message or tooltip, about read-only attributes being set. | +|  2019-01-16 ​ |  1.3.1  | Security hardening | 
-|  1.1.8  ​|  2017-09-29 ​ | Showing action in object details only when target class is writable. | +|  2018-12-19 ​ |  1.3.0  ​| New feature enabled: copy of Attachments | 
-|  1.1.7  ​|  2017-04-04 ​ | Case logs : when using set on a case log, the entry was set twice, the HTML formatting was lost, and if the log was first copied from the source, it was broken. | +|  2018-06-26 ​ |  1.2.1  | ES translation | 
-|  1.1.6  ​| ​ 2017-03-27 ​ | With some customizations (preset on ticket dates), the refresh of dependent fields was broken. Regression introduced in iTop 2.3 | +|  2018-01-26 ​ ​| ​ 1.2.0  | Add copy_head verb for CaseLog attributes - allow creation of a new ticket from the latest log | 
-|  1.1.5  ​|  2017-03-23 ​ | Fix for XSS vulnerability. | +|  2017-11-13 ​ ​| ​ 1.1.9  | Fix error displayed in error message or tooltip, about read-only attributes being set. | 
-|  1.1.4  ​|  2016-08-09 ​ | Fix for compatibility with iTop 2.3.0 (still backward compatible):​ properly handle the breadcrumb + bug fix when using hidden fields and case logs. | +|  2017-09-29 ​ ​| ​ 1.1.8  | Showing action in object details only when target class is writable. | 
-|  1.1.3  ​|  2015-10-05 ​ | Fix for compatibility with iTop 2.2.0 (still backward compatible) | +|  2017-04-04 ​ ​| ​ 1.1.7  | Case logs : when using set on a case log, the entry was set twice, the HTML formatting was lost, and if the log was first copied from the source, it was broken. | 
-|  1.1.2  ​|  2015-09-30 ​ | New verb: nullify. Useful for leaving a date or datetime undefined (differs from the verb //reset// because the default value for such attributes is "​now"​) | +|  2017-03-27  ​|  1.1.6  | With some customizations (preset on ticket dates), the refresh of dependent fields was broken. Regression introduced in iTop 2.3 | 
-|  1.1.1  ​|  2015-07-01 ​ | New verb: call_method. Allows any kind of modification on the target object (and/or the source object) | +|  2017-03-23 ​ ​| ​ 1.1.5  | Fix for XSS vulnerability. | 
-|  1.1.0  ​|  2015-02-03 ​ | Added placeholders $current_date$ and $current_time$. Added the verb apply_stimulus. Exposed some APIs to allow the reuse of actions in other modules like itop-stencils | +|  2016-08-09 ​ ​| ​ 1.1.4  | Fix for compatibility with iTop 2.3.0 (still backward compatible):​ properly handle the breadcrumb + bug fix when using hidden fields and case logs. | 
-|  1.0.3  ​|  2014-12-18 ​ | Translated the default configuration in french (while keeping the engish version as the default) | +|  2015-10-05 ​ ​| ​ 1.1.3  | Fix for compatibility with iTop 2.2.0 (still backward compatible) | 
-|  1.0.2  ​|  2014-07-18 ​ | Added placeholders for set() and append(): $current_contact_id$ (already documented) and $current_contact_friendlyname$ (new!) | +|  2015-09-30 ​ ​| ​ 1.1.2  | New verb: nullify. Useful for leaving a date or datetime undefined (differs from the verb //reset// because the default value for such attributes is "​now"​) | 
-|  1.0.1  ​|  2014-04-03 ​ | Fixes an issue with linksets: the links were correctly created into the clone, but they were deleted from the source object | +|  2015-07-01  |  1.1.1  | New verb: call_method. Allows any kind of modification on the target object (and/or the source object) | 
-|  1.0.0  ​|  2014-03-04 ​ | First officialy released version |+|  2015-02-03 ​ ​| ​ 1.1.0  | Added placeholders $current_date$ and $current_time$. Added the verb apply_stimulus. Exposed some APIs to allow the reuse of actions in other modules like itop-stencils | 
 +|  2014-12-18 ​ ​| ​ 1.0.3  | Translated the default configuration in french (while keeping the engish version as the default) | 
 +|  2014-07-18 ​ ​| ​ 1.0.2  | Added placeholders for set() and append(): $current_contact_id$ (already documented) and $current_contact_friendlyname$ (new!) | 
 +|  2014-04-03 ​ ​| ​ 1.0.1  | Fixes an issue with linksets: the links were correctly created into the clone, but they were deleted from the source object | 
 +|  2014-03-04 ​ ​| ​ 1.0.0  | First officialy released version |
  
 ===== Installation ===== ===== Installation =====
Line 138: Line 143:
 | apply_stimulus | stimulus code | Applies the given stimulus (saves the object). To be used in **retrofit ONLY.** Best practice: It is strongly recommanded to set transition mandatory fields as well, otherwise they will stay empty and could break reporting. | | apply_stimulus | stimulus code | Applies the given stimulus (saves the object). To be used in **retrofit ONLY.** Best practice: It is strongly recommanded to set transition mandatory fields as well, otherwise they will stay empty and could break reporting. |
 | call_method | function name | **New in 1.1.1** - Calls the provided method on the written object. Its prototype must be "​public function xxxx($oSource)"​. The function can send exceptions in case of failure. In such a case, the error message gets displayed in the log/​error.log file | | call_method | function name | **New in 1.1.1** - Calls the provided method on the written object. Its prototype must be "​public function xxxx($oSource)"​. The function can send exceptions in case of failure. In such a case, the error message gets displayed in the log/​error.log file |
 +| clone_attachments | <​none>​ | **New in 1.3.0** - Copy all the attachments from //source// to //​destination//​ |
  
 ===== Configuration example ===== ===== Configuration example =====
extensions/itop-object-copier.txt · Last modified: 2019/04/23 12:01 by vdumas

";