• Jérome Perrin's avatar
    BusinessTemplate: fix removing and trashing a document and its container · cde13458
    Jérome Perrin authored
    Because we were backing up to trash documents in the wrong order (in the example
    from the test, portal_categories/test_category/removed_container/removed_document
    first and then portal_categories/test_category/removed_container), first the
    document was backed-up and some intermediate trash folders were created to
    keep the hierarchy. Then when backing up the container, there was an error like:
    
        BadRequest: The id "removed_container" is invalid - it is already in use.
    
    Similar error happens when upgrading erp5_configurator_standard, it was failing with:
    
        BadRequest: The id "officejs_sdk_workflow" is invalid - it is already in use.
    
    The fix is to backup in reverse order, to back up first the containers and then
    the document in containers.
    cde13458
Name
Last commit
Last update
..
cloudooo_data Loading commit data...
cloudooo_web Loading commit data...
erp5_access_token Loading commit data...
erp5_accounting Loading commit data...
erp5_accounting_l10n_br_extend Loading commit data...
erp5_accounting_l10n_br_sme Loading commit data...
erp5_accounting_l10n_cn_basic Loading commit data...
erp5_accounting_l10n_de_skr04 Loading commit data...
erp5_accounting_l10n_fr Loading commit data...
erp5_accounting_l10n_fr_m14 Loading commit data...
erp5_accounting_l10n_fr_m4 Loading commit data...
erp5_accounting_l10n_fr_pca Loading commit data...
erp5_accounting_l10n_ifrs Loading commit data...
erp5_accounting_l10n_in Loading commit data...
erp5_accounting_l10n_lu Loading commit data...
erp5_accounting_l10n_mt Loading commit data...
erp5_accounting_l10n_pl Loading commit data...
erp5_accounting_l10n_pl_default_gap Loading commit data...
erp5_accounting_l10n_ru Loading commit data...
erp5_accounting_l10n_sn Loading commit data...
erp5_accounting_renderjs_ui_test Loading commit data...
erp5_accounting_ui_test Loading commit data...
erp5_administration Loading commit data...
erp5_advanced_ecommerce Loading commit data...
erp5_advanced_ecommerce_test Loading commit data...
erp5_advanced_invoicing Loading commit data...
erp5_advanced_trade Loading commit data...
erp5_advanced_trade_invoicing Loading commit data...
erp5_apparel Loading commit data...
erp5_archive Loading commit data...
erp5_authentication_policy Loading commit data...
erp5_autocompletion_ui Loading commit data...
erp5_bank_reconciliation Loading commit data...
erp5_bank_reconciliation_renderjs_ui_test Loading commit data...
erp5_barcode Loading commit data...
erp5_base Loading commit data...
erp5_bearer_token Loading commit data...
erp5_big_file Loading commit data...
erp5_budget Loading commit data...
erp5_calendar Loading commit data...
erp5_certificate_authority Loading commit data...
erp5_ci_slideshow Loading commit data...
erp5_code_mirror Loading commit data...
erp5_commerce Loading commit data...
erp5_commerce_loyalty_program Loading commit data...
erp5_commerce_loyalty_program_test Loading commit data...
erp5_computer_immobilisation Loading commit data...
erp5_configurator Loading commit data...
erp5_configurator_ebusiness_lotse Loading commit data...
erp5_configurator_maxma_demo Loading commit data...
erp5_configurator_run_my_doc Loading commit data...
erp5_configurator_standard Loading commit data...
erp5_configurator_standard_accounting_template Loading commit data...
erp5_configurator_standard_categories Loading commit data...
erp5_configurator_standard_invoicing_template Loading commit data...
erp5_configurator_standard_solver Loading commit data...
erp5_configurator_standard_trade_template Loading commit data...
erp5_configurator_standard_ui_test Loading commit data...
erp5_consulting Loading commit data...
erp5_content_translation Loading commit data...
erp5_core_proxy_field_legacy Loading commit data...
erp5_core_test Loading commit data...
erp5_corporate_identity Loading commit data...
erp5_corporate_identity_test Loading commit data...
erp5_credential Loading commit data...
erp5_credential_oauth2 Loading commit data...
erp5_crm Loading commit data...
erp5_crm_knowledge_pad Loading commit data...
erp5_crm_renderjs_ui_test Loading commit data...
erp5_crm_ui_test Loading commit data...
erp5_csv_style Loading commit data...
erp5_data_notebook Loading commit data...
erp5_data_protection Loading commit data...
erp5_data_set Loading commit data...
erp5_datepicker_ui Loading commit data...
erp5_deferred_renderjs_ui_test Loading commit data...
erp5_deferred_style Loading commit data...
erp5_demo_maxma_rule Loading commit data...
erp5_demo_maxma_sample Loading commit data...
erp5_demo_smb Loading commit data...
erp5_development_wizard Loading commit data...
erp5_dhtml_style Loading commit data...
erp5_dhtml_ui_test Loading commit data...
erp5_dhtmlx_scheduler Loading commit data...
erp5_direct_debit_payment Loading commit data...
erp5_discount_resource Loading commit data...
erp5_discussion Loading commit data...
erp5_dms Loading commit data...
erp5_dms_conversion_catalog Loading commit data...
erp5_dms_ui_test Loading commit data...
erp5_document_scanner Loading commit data...
erp5_document_scanner_ui_test Loading commit data...
erp5_dummy_movement Loading commit data...
erp5_email_reader Loading commit data...
erp5_external_account Loading commit data...
erp5_font Loading commit data...
erp5_forge Loading commit data...
erp5_forum_tutorial Loading commit data...
erp5_free_subscription Loading commit data...
erp5_full_text_mroonga_catalog Loading commit data...
erp5_full_text_myisam_catalog Loading commit data...
erp5_full_text_sphinxse_catalog Loading commit data...
erp5_gadget_interface_validator Loading commit data...
erp5_gadget_interface_validator_ui_test Loading commit data...
erp5_graph_editor Loading commit data...
erp5_graph_editor_ui_test Loading commit data...
erp5_hal_json_style Loading commit data...
erp5_hr Loading commit data...
erp5_hr_calendar Loading commit data...
erp5_http_proxy Loading commit data...
erp5_ical_style Loading commit data...
erp5_immobilisation Loading commit data...
erp5_ingestion Loading commit data...
erp5_ingestion_mysql_innodb_catalog Loading commit data...
erp5_ingestion_test Loading commit data...
erp5_inotify Loading commit data...
erp5_insolvency_proceeding Loading commit data...
erp5_interface_post Loading commit data...
erp5_interfaces Loading commit data...
erp5_invoicing Loading commit data...
erp5_item Loading commit data...
erp5_item_renderjs_ui_test Loading commit data...
erp5_javascript_openlayers Loading commit data...
erp5_jexcel_editor Loading commit data...
erp5_joblib Loading commit data...
erp5_jquery_legacy Loading commit data...
erp5_jquery_plugin_bbq Loading commit data...
erp5_jquery_plugin_colorpicker Loading commit data...
erp5_jquery_plugin_cookie Loading commit data...
erp5_jquery_plugin_elastic Loading commit data...
erp5_jquery_plugin_formplugin Loading commit data...
erp5_jquery_plugin_formwizard Loading commit data...
erp5_jquery_plugin_hotkey Loading commit data...
erp5_jquery_plugin_jcarousel Loading commit data...
erp5_jquery_plugin_jgraduate Loading commit data...
erp5_jquery_plugin_jqchart Loading commit data...
erp5_jquery_plugin_jqgrid Loading commit data...
erp5_jquery_plugin_jquerybbq Loading commit data...
erp5_jquery_plugin_jqzoom Loading commit data...
erp5_jquery_plugin_json Loading commit data...
erp5_jquery_plugin_jstorage Loading commit data...
erp5_jquery_plugin_lightbox Loading commit data...
erp5_jquery_plugin_mbmenu Loading commit data...
erp5_jquery_plugin_qunit Loading commit data...
erp5_jquery_plugin_renderjs Loading commit data...
erp5_jquery_plugin_scrollto Loading commit data...
erp5_jquery_plugin_selectbox Loading commit data...
erp5_jquery_plugin_sheet Loading commit data...
erp5_jquery_plugin_spinbtn Loading commit data...
erp5_jquery_plugin_svg_editor Loading commit data...
erp5_jquery_plugin_svgicon Loading commit data...
erp5_jquery_plugin_urlparser Loading commit data...
erp5_jquery_plugin_validation Loading commit data...
erp5_jquery_plugin_wdcalendar Loading commit data...
erp5_jquery_sheet_editor Loading commit data...
erp5_jquery_sheet_js_editor Loading commit data...
erp5_jquery_ui Loading commit data...
erp5_json_style Loading commit data...
erp5_json_type Loading commit data...
erp5_km Loading commit data...
erp5_km_sphinxse_full_text_search Loading commit data...
erp5_km_ui_test Loading commit data...
erp5_km_ui_test_data Loading commit data...
erp5_knowledge_pad Loading commit data...
erp5_knowledge_pad_ui_test Loading commit data...
erp5_l10n_de Loading commit data...
erp5_l10n_fa Loading commit data...
erp5_l10n_fr Loading commit data...
erp5_l10n_ja Loading commit data...
erp5_l10n_ko Loading commit data...
erp5_l10n_pl_PL Loading commit data...
erp5_l10n_pt-BR Loading commit data...
erp5_l10n_ru Loading commit data...
erp5_l10n_zh Loading commit data...
erp5_log Loading commit data...
erp5_minipaint Loading commit data...
erp5_mobile Loading commit data...
erp5_mobile_ui_test Loading commit data...
erp5_monaco_editor Loading commit data...
erp5_monaco_editor_ui_test Loading commit data...
erp5_movement_table_catalog Loading commit data...
erp5_mrp Loading commit data...
erp5_mrp_item Loading commit data...
erp5_mrp_legacy Loading commit data...
erp5_multimedia Loading commit data...
erp5_oauth Loading commit data...
erp5_oauth_facebook_login Loading commit data...
erp5_oauth_google_login Loading commit data...
erp5_ods_style Loading commit data...
erp5_odt_style Loading commit data...
erp5_officejs Loading commit data...
erp5_officejs_afs_directory Loading commit data...
erp5_officejs_afs_directory_data Loading commit data...
erp5_officejs_afs_directory_ui_test Loading commit data...
erp5_officejs_appstore_base Loading commit data...
erp5_officejs_appstore_website Loading commit data...
erp5_officejs_connector Loading commit data...
erp5_officejs_jquery_app Loading commit data...
erp5_officejs_ooffice Loading commit data...
erp5_officejs_support_request_ui Loading commit data...
erp5_officejs_support_request_ui_test Loading commit data...
erp5_officejs_ui_test Loading commit data...
erp5_only_office Loading commit data...
erp5_ooo_import Loading commit data...
erp5_open_trade Loading commit data...
erp5_open_trade_periodicity_line Loading commit data...
erp5_osoe_theory_data Loading commit data...
erp5_pajs Loading commit data...
erp5_palo Loading commit data...
erp5_payline Loading commit data...
erp5_payment_mean Loading commit data...
erp5_paypal_secure_payment Loading commit data...
erp5_payroll Loading commit data...
erp5_payroll_l10n_fr Loading commit data...
erp5_payroll_l10n_fr_test Loading commit data...
erp5_payroll_ui_test Loading commit data...
erp5_payzen_secure_payment Loading commit data...
erp5_pdf_merge Loading commit data...
erp5_pdm Loading commit data...
erp5_pdm_renderjs_ui_test Loading commit data...
erp5_pdm_ui_test Loading commit data...
erp5_performance_test Loading commit data...
erp5_periodicity_test Loading commit data...
erp5_pivot_table Loading commit data...
erp5_popup_ui Loading commit data...
erp5_post Loading commit data...
erp5_post_test Loading commit data...
erp5_printer Loading commit data...
erp5_project Loading commit data...
erp5_project_mysql_innodb_catalog Loading commit data...
erp5_project_ui_test Loading commit data...
erp5_promise Loading commit data...
erp5_public_accounting_budget Loading commit data...
erp5_publication Loading commit data...
erp5_real_time_inventory_accounting Loading commit data...
erp5_real_time_inventory_accounting_test Loading commit data...
erp5_receipt_recognition Loading commit data...
erp5_receipt_recognition_test Loading commit data...
erp5_research_item Loading commit data...
erp5_rss_reader Loading commit data...
erp5_rss_style Loading commit data...
erp5_run_my_doc Loading commit data...
erp5_run_my_doc_renderjs_ui_test Loading commit data...
erp5_run_my_doc_role Loading commit data...
erp5_safeimage Loading commit data...
erp5_scalability_test Loading commit data...
erp5_scalability_test_auto_configuration Loading commit data...
erp5_secure_payment Loading commit data...
erp5_security_uid_innodb_catalog Loading commit data...
erp5_short_message Loading commit data...
erp5_simplified_invoicing Loading commit data...
erp5_simulation Loading commit data...
erp5_simulation_fast_input Loading commit data...
erp5_simulation_performance_test Loading commit data...
erp5_simulation_test Loading commit data...
erp5_simulation_test_trade_template Loading commit data...
erp5_slideshow_style Loading commit data...
erp5_smart_assistant Loading commit data...
erp5_social_contracts Loading commit data...
erp5_software_pdm Loading commit data...
erp5_sql_browser Loading commit data...
erp5_sso_openam Loading commit data...
erp5_stock_cache Loading commit data...
erp5_svg_editor Loading commit data...
erp5_syncml Loading commit data...
erp5_syncml_test_data Loading commit data...
erp5_system_event Loading commit data...
erp5_tabular_data_tool Loading commit data...
erp5_tabular_data_tool_test Loading commit data...
erp5_tax_resource Loading commit data...
erp5_tax_return Loading commit data...
erp5_test_result Loading commit data...
erp5_tiosafe_core Loading commit data...
erp5_trade Loading commit data...
erp5_trade_ja Loading commit data...
erp5_trade_knowledge_pad Loading commit data...
erp5_trade_proxy_field_legacy Loading commit data...
erp5_trade_renderjs_ui_test Loading commit data...
erp5_trade_ui_test Loading commit data...
erp5_travel_expense Loading commit data...
erp5_travel_expense_standard_data Loading commit data...
erp5_travel_expense_ui_test Loading commit data...
erp5_ui_test Loading commit data...
erp5_ui_test_core Loading commit data...
erp5_ui_test_data Loading commit data...
erp5_upgrader Loading commit data...
erp5_upgrader_officejs_sdk Loading commit data...
erp5_upgrader_test Loading commit data...
erp5_user_tutorial Loading commit data...
erp5_user_tutorial_data Loading commit data...
erp5_user_tutorial_ui_test Loading commit data...
erp5_video Loading commit data...
erp5_web Loading commit data...
erp5_web_blog Loading commit data...
erp5_web_bookmark Loading commit data...
erp5_web_download_theme Loading commit data...
erp5_web_ecommerce Loading commit data...
erp5_web_ecommerce_test Loading commit data...
erp5_web_ecrm Loading commit data...
erp5_web_ecrm_test Loading commit data...
erp5_web_ehr Loading commit data...
erp5_web_ehr_test Loading commit data...
erp5_web_eproject Loading commit data...
erp5_web_eproject_test Loading commit data...
erp5_web_jabber_client Loading commit data...
erp5_web_js_style Loading commit data...
erp5_web_js_style_test Loading commit data...
erp5_web_manifest Loading commit data...
erp5_web_manifest_test Loading commit data...
erp5_web_minimal_simplicity Loading commit data...
erp5_web_monitoring Loading commit data...
erp5_web_monitoring_ui_test Loading commit data...
erp5_web_multiflex5_theme Loading commit data...
erp5_web_project_ui Loading commit data...
erp5_web_project_ui_test Loading commit data...
erp5_web_renderjs_ui Loading commit data...
erp5_web_renderjs_ui_test Loading commit data...
erp5_web_renderjs_ui_test_core Loading commit data...
erp5_web_service Loading commit data...
erp5_web_shacache Loading commit data...
erp5_web_shadir Loading commit data...
erp5_web_ui_test Loading commit data...
erp5_wechat_secure_payment Loading commit data...
erp5_workflow_test Loading commit data...
erp5_worklist_sql Loading commit data...
erp5_worklist_sql_test Loading commit data...
erp5_xhtml_gadget_style Loading commit data...
networkcache_erp5 Loading commit data...
officejs_todomvc Loading commit data...
test_accounting/bt Loading commit data...
test_accounting_fr/bt Loading commit data...
test_accounting_in/bt Loading commit data...
test_accounting_pl/bt Loading commit data...
test_conflict_resolution Loading commit data...
test_core Loading commit data...
test_html_style/bt Loading commit data...
test_web/bt Loading commit data...
test_xhtml_style/bt Loading commit data...