Bug 480776 - Project corrupted with 3 sequences, if "Sequences" folder deleted
Summary: Project corrupted with 3 sequences, if "Sequences" folder deleted
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-03 13:30 UTC by red_Arti
Modified: 2024-02-12 08:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
bug-record_3seqs (1.12 MB, video/mp4)
2024-02-03 13:30 UTC, red_Arti
Details
corrupted-project_3seqs (30.96 KB, application/kdenlive)
2024-02-03 13:31 UTC, red_Arti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description red_Arti 2024-02-03 13:30:49 UTC
Created attachment 165494 [details]
bug-record_3seqs

SUMMARY

STEPS TO REPRODUCE
1. Create project
2. Pull Seq 1 out of "Sequences" folder. Delete "Sequences" folder (important)
3. Create title clip, with some text. Add it into Seq 1
4. Create Seq 2. Add Seq 1 into Seq 2
5. Create Seq 3. Add Seq 2 into Seq 3
6. Save. Reopen

OBSERVED RESULT
Errors found when opening project file (Sat Feb 3 20:56:06 2024)
A1 00:00:07:10 Timeline clip ({9c4e96e4-6068-4249-93e4-82b6cb7a9ca4}) without bin reference found and removed.
V1 00:00:07:10 Timeline clip ({9c4e96e4-6068-4249-93e4-82b6cb7a9ca4}) without bin reference found and removed.

In Seq 3, track has no Seq 2

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Kdenlive 24.04.70-7372  git master ci build AppImage (c8ee59ee)

ADDITIONAL INFORMATION
Comment 1 red_Arti 2024-02-03 13:31:40 UTC
Created attachment 165495 [details]
corrupted-project_3seqs
Comment 2 emohr 2024-02-03 15:58:45 UTC
Thank you for reporting. Yes, I can confirm this corruption following your steps (using latest master). But I get a “project corrupted” and sequence 3 is missing in the timeline.

Error message:
Project corrupted. Clip {35035e40-812c-4917-8276-220244e202b6} (4) not found in project bin.
Project corrupted. Clip {35035e40-812c-4917-8276-220244e202b6} (4) not found in project bin.

And then the error you showed below (copied from the Project Notes).
Comment 3 Jean-Baptiste Mardelle 2024-02-03 19:00:27 UTC
Git commit eadf5d11134fed8a1230d7866c770a3a64eb162c by Jean-Baptiste Mardelle.
Committed on 03/02/2024 at 19:00.
Pushed by mardelle into branch 'release/24.02'.

Fix sequence corruption on project load

M  +2    -0    src/bin/projectitemmodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/eadf5d11134fed8a1230d7866c770a3a64eb162c
Comment 4 emohr 2024-02-03 19:32:16 UTC
Fixed. Works as expected. Merci
Comment 5 Jean-Baptiste Mardelle 2024-02-04 15:41:58 UTC
Git commit f582f63b71e3af36d18d90d91af7e8fd154ce234 by Jean-Baptiste Mardelle.
Committed on 04/02/2024 at 15:41.
Pushed by mardelle into branch 'master'.

Add test for nested sequences corruption

M  +5    -1    src/timeline2/model/builders/meltBuilder.cpp
A  +730  -0    tests/dataset/test-nesting.kdenlive
M  +42   -0    tests/nestingtest.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/f582f63b71e3af36d18d90d91af7e8fd154ce234
Comment 6 Jean-Baptiste Mardelle 2024-02-12 08:04:54 UTC
Git commit b2a028452aba7dabd969a0adb6379037f025626d by Jean-Baptiste Mardelle.
Committed on 12/02/2024 at 07:58.
Pushed by mardelle into branch 'release/23.08'.

Fix sequence corruption on project load

M  +2    -0    src/bin/projectitemmodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/b2a028452aba7dabd969a0adb6379037f025626d