All translations

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en)If the structure of the class changes, that is, if its properties or methods change, are renamed, or are removed, we could test the version attribute in order to migrate the older object to a new set of properties or to a new class. This can be done by implementing the {{incode|onDocumentRestored}} method, as explained in [[Scripted_objects_migration|Scripted objects migration]].
 h français (fr)Si la structure de la classe change, c'est-à-dire si ses propriétés ou méthodes changent, sont renommées ou supprimées, nous pourrions tester l'attribut version afin de faire migrer l'ancien objet vers un nouvel ensemble de propriétés ou vers une nouvelle classe. Ceci peut être fait en implémentant la méthode {{incode|onDocumentRestored}}, comme expliqué dans [[Scripted_objects_migration/fr|Migration d'objets créés par script]].