Library Save to Copy does not copy folders accurately #1003
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
Expected result
Save As Copy function should copy all the for data correctly.
Actual result
As described above.
System information (as much as possible)
Win 11
10.4.28-MariaDB
Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.0.28
8.0.28
3.10.12
3.1.24
Chrome 115.0.5790.110
Additional comments
I can do a record dump of the tables
#__componentbuilder_library
#__componentbuilder_library_files_folders_urls
which I think might be the most useful. You can see that in the newest #__componentbuilder_library_files_folders_urls record, the library field actually points to the wrong record in #__componentbuilder_library. I've traced the code but I've been unable to see where the mixup occurs.
This is currently the code we are looking at:
Which is converted to:
If you can see where my logic is breaking down... we can add a fix.
The copyItem code is found here.