Ticket #104 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

3D data not copied when a Document3D is revised

Reported by: pcosquer Owned by: Galech
Priority: major Milestone: openPLM-1.0 Official release
Component: models & controllers Version:
Keywords: document3D Cc:

Description

It seems that 3D data are not copied when a document3D is revised.

Steps to reproduce:

1) Create a Document3D document
2) Add a step file (tested with the file trunk/openPLM/document3D/data_test/test.stp)
3) Wait for the generation of the 3D data : the 3D view is ok
4) Revise the Document3D
5) open the 3D page of the new revision: it shows "This document has no 3D data. Maybe it does not have a STEP file or openPLM has not yet converted its STEP file."

Expected result:
5) the same view as for the original document

The new revision contains a valid step file.

version: trunk revision 1020
Logs (document revised: Document3D/DOC_00144/a, new revision: b)

[24/Apr/2012 09:26:19] "POST /object/Document3D/DOC_00144/a/revisions/ HTTP/1.1" 302 0
[2012-04-24 09:26:20,179: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[b6144eb9-a95f-4077-b20d-fadccd1734f4] succeeded in 0.696043014526s: None
[24/Apr/2012 09:26:20] "GET /object/Document3D/DOC_00144/a/revisions/ HTTP/1.1" 200 567450
[2012-04-24 09:26:20,875: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[fe51a910-0a5f-476c-9afc-4d9256037837] succeeded in 1.15207195282s: None
[24/Apr/2012 09:26:24] "GET /object/Document3D/DOC_00144/b/ HTTP/1.1" 301 0
[24/Apr/2012 09:26:25] "GET /object/Document3D/DOC_00144/b/files/ HTTP/1.1" 200 699032
[24/Apr/2012 09:26:30] "GET /object/Document3D/DOC_00144/b/3D/ HTTP/1.1" 200 581213
[24/Apr/2012 09:26:45] "GET /object/Document3D/DOC_00144/b/files/ HTTP/1.1" 200 585948
[24/Apr/2012 09:26:49] "GET /object/Document3D/DOC_00144/b/3D/ HTTP/1.1" 200 581221
[24/Apr/2012 09:26:57] "GET /object/Document3D/DOC_00144/b/files/ HTTP/1.1" 200 585929
[24/Apr/2012 09:28:12] "GET /object/create/?type=Part HTTP/1.1" 200 630593
[24/Apr/2012 09:28:19] "GET /ajax/create/?csrfmiddlewaretoken=f6148d1491a14c800eb467902f738fe5&type=Document3D&reference=PART_00139&revision=a&lifecycle=draft_official_deprecated&initial-lifecycle=draft_official_deprecated&name=&group= HTTP/1.1" 200 1668
[24/Apr/2012 09:28:24] "GET /ajax/complete/Document3D/name/?term=test+re HTTP/1.1" 200 2
[24/Apr/2012 09:28:25] "GET /ajax/complete/Document3D/name/?term=test+rev HTTP/1.1" 200 2
[24/Apr/2012 09:28:26] "GET /ajax/complete/Document3D/name/?term=test+revision HTTP/1.1" 200 2
[2012-04-24 09:28:26,754: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[515d84dc-e5be-43c6-a88d-ee33966a2bbb]
[2012-04-24 09:28:26,786: INFO/MainProcess] Got task from broker: openPLM.plmapp.mail.do_send_histories_mail[bef7e480-6a92-4e6a-a54f-1c41347fdfc9]
[2012-04-24 09:28:26,990: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[515d84dc-e5be-43c6-a88d-ee33966a2bbb] succeeded in 0.228014945984s: None
[24/Apr/2012 09:28:27] "POST /object/create/ HTTP/1.1" 302 0
[24/Apr/2012 09:28:27] "GET /object/Document3D/DOC_00146/a/ HTTP/1.1" 301 0
[2012-04-24 09:28:27,594: INFO/MainProcess] Task openPLM.plmapp.mail.do_send_histories_mail[bef7e480-6a92-4e6a-a54f-1c41347fdfc9] succeeded in 0.804049968719s: None
[24/Apr/2012 09:28:28] "GET /object/Document3D/DOC_00146/a/files/ HTTP/1.1" 200 705282
[24/Apr/2012 09:28:31] "GET /object/Document3D/DOC_00146/a/files/add/ HTTP/1.1" 200 572240
[2012-04-24 09:28:56,876: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[14eee40f-c925-4278-936e-35f2c36322e5]
[2012-04-24 09:28:56,948: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[5edae241-ccd9-4648-9bd0-de5659be25a9]
[2012-04-24 09:28:57,008: INFO/MainProcess] Got task from broker: openPLM.plmapp.mail.do_send_histories_mail[41eaa61d-d2be-4759-960a-415b29e218c9]
[2012-04-24 09:28:57,028: INFO/MainProcess] Got task from broker: openPLM.document3D.models.handle_step_file[257e45e9-a9f9-4920-8d30-80a3f82c0cd5]
[2012-04-24 09:28:57,052: INFO/MainProcess] Got task from broker: openPLM.plmapp.thumbnailers.generate_thumbnail[b3827bbd-2220-4bb9-9b10-8159a1d55714]
[24/Apr/2012 09:28:57] "POST /object/Document3D/DOC_00146/a/files/add/ HTTP/1.1" 302 0
[2012-04-24 09:28:57,208: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[14eee40f-c925-4278-936e-35f2c36322e5] succeeded in 0.280017137527s: None
[2012-04-24 09:28:57,624: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[5edae241-ccd9-4648-9bd0-de5659be25a9] succeeded in 0.668041944504s: None
[2012-04-24 09:28:57,636: INFO/MainProcess] Task openPLM.plmapp.mail.do_send_histories_mail[41eaa61d-d2be-4759-960a-415b29e218c9] succeeded in 0.596038103104s: None
[2012-04-24 09:28:57,656: INFO/MainProcess] Task openPLM.plmapp.thumbnailers.generate_thumbnail[b3827bbd-2220-4bb9-9b10-8159a1d55714] succeeded in 0.0280020236969s: None
[24/Apr/2012 09:28:58] "GET /object/Document3D/DOC_00146/a/files/ HTTP/1.1" 200 608804
[24/Apr/2012 09:29:02] "GET /object/Document3D/DOC_00146/a/3D/ HTTP/1.1" 200 604074
[2012-04-24 09:29:09,661: INFO/MainProcess] Task openPLM.document3D.models.handle_step_file[257e45e9-a9f9-4920-8d30-80a3f82c0cd5] succeeded in 12.4527778625s: None
[24/Apr/2012 09:29:25] "GET /object/Document3D/DOC_00144/b/files/ HTTP/1.1" 200 722089
[24/Apr/2012 09:30:01] "GET /object/Document3D/DOC_00144/b/3D/ HTTP/1.1" 200 603998
[24/Apr/2012 09:30:49] "GET /object/Document3D/DOC_00144/b/3D/ HTTP/1.1" 200 604185
[24/Apr/2012 09:30:50] "GET /media/css/openplm/jquery-ui.css HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/css/openplm.css HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/css/help.css HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/css/chosen.css HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/jquery.min.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/jquery-ui.min.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/jquery.cookie.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/chosen.jquery.min.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/jquery.hoverIntent.minified.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/combobox.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/help.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/panels.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/confirm.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:50] "GET /media/js/3D/three-min.js HTTP/1.1" 304 0
[24/Apr/2012 09:30:52] "GET /media/img/dark/logo_openplm_linear.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/dark/banner.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/css/openplm/images/ui-bg_inset-soft_15_373737_1x100.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/css/openplm/images/ui-bg_highlight-soft_65_e3017d_1x100.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/icon_doc.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/dark/menu_bg.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/dark/menu_active_bg.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/dark/footer.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:53] "GET /media/img/linobject.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:54] "GET /media/css/chosen-sprite.png HTTP/1.1" 304 0
[24/Apr/2012 09:30:54] "GET /media/css/openplm/images/ui-icons_e4e4e4_256x240.png HTTP/1.1" 304 0
[24/Apr/2012 09:31:07] "GET /object/Document3D/DOC_00146/a/3D/ HTTP/1.1" 200 1030235
[24/Apr/2012 09:31:08] "GET /media/3D/geo/fce0c63da4d34776eb130767fe56c3a1-zugr9oe.geo HTTP/1.1" 200 101393
[24/Apr/2012 09:31:08] "GET /media/3D/geo/fce0c63da4d34776eb130767fe56c3a1-65k8xin.geo HTTP/1.1" 200 46139
[24/Apr/2012 09:31:08] "GET /media/3D/geo/fce0c63da4d34776eb130767fe56c3a1-dlvcsxo.geo HTTP/1.1" 200 26803
[24/Apr/2012 09:32:08] "GET /object/Document3D/DOC_00146/a/revisions/ HTTP/1.1" 200 617815
[2012-04-24 09:32:12,641: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[4a1469a3-a16a-414e-a527-ac99d40761b3]
[2012-04-24 09:32:12,709: INFO/MainProcess] Got task from broker: openPLM.plmapp.mail.do_send_histories_mail[8311b660-4db9-4c41-b42e-f9cf80e28c23]
[2012-04-24 09:32:12,777: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[4a1469a3-a16a-414e-a527-ac99d40761b3] succeeded in 0.128007888794s: None
[2012-04-24 09:32:12,877: INFO/MainProcess] Got task from broker: openPLM.plmapp.mail.do_send_histories_mail[7d64a502-b29a-4bce-a363-37b009eedc0e]
[2012-04-24 09:32:12,953: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[44d13b51-131e-463a-8faf-fcb1793ead45]
[2012-04-24 09:32:12,997: INFO/MainProcess] Got task from broker: openPLM.plmapp.tasks.update_index[7253fcce-6adb-4663-9970-ac45d31f81a2]
[24/Apr/2012 09:32:13] "POST /object/Document3D/DOC_00146/a/revisions/ HTTP/1.1" 302 0
[2012-04-24 09:32:13,197: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[44d13b51-131e-463a-8faf-fcb1793ead45] succeeded in 0.232014894485s: None
[2012-04-24 09:32:13,333: INFO/MainProcess] Task openPLM.plmapp.tasks.update_index[7253fcce-6adb-4663-9970-ac45d31f81a2] succeeded in 0.136008024216s: None
[24/Apr/2012 09:32:13] "GET /object/Document3D/DOC_00146/a/revisions/ HTTP/1.1" 200 614260
[2012-04-24 09:32:14,305: INFO/MainProcess] Task openPLM.plmapp.mail.do_send_histories_mail[8311b660-4db9-4c41-b42e-f9cf80e28c23] succeeded in 1.57609915733s: None
[2012-04-24 09:32:14,305: INFO/MainProcess] Task openPLM.plmapp.mail.do_send_histories_mail[7d64a502-b29a-4bce-a363-37b009eedc0e] succeeded in 1.38808703423s: None
[24/Apr/2012 09:32:16] "GET /object/Document3D/DOC_00146/b/ HTTP/1.1" 301 0
[24/Apr/2012 09:32:17] "GET /object/Document3D/DOC_00146/b/files/ HTTP/1.1" 200 728915
[24/Apr/2012 09:32:21] "GET /object/Document3D/DOC_00146/b/3D/ HTTP/1.1" 200 610700

Change History

comment:1 Changed 7 years ago by admin

  • Owner changed from agalech to Galech
  • Status changed from new to assigned

comment:2 Changed 7 years ago by Galech

  • Status changed from assigned to closed
  • Resolution set to fixed

Now it is possible to revise document3D.

If the document is decomposed:

If we kept in the revision the link where the part where decomposed:

The geometries and the tree are copied for the new document

If we break the link in the revision:

The geometries and the tree are copied for the new document and the file step is re-composed


Note: See TracTickets for help on using tickets.