Link between Modules and Components is lost after Export/Import #935

Closed
opened 2022-07-13 14:01:31 +00:00 by Martin Kopp · 3 comments
Member

Steps to reproduce the issue

  • Backup of all Components using Export JCB Packages
  • Uninstall Component Builder
  • Install Component Builder
  • Import JCB Package (JCB_smartPackage.zip)

Expected result

  • Modules are linked to their components

Actual result

  • Modules are unlinked and therefore are not built by the compiler

System information (as much as possible)

  • OS Name & Version:
  • MySql Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
  • Apache Version:
  • PHP Version: 7.4.30
  • Joomla Version: 3.10.10
  • JCB Version: 3.1.4
  • Browser:

Additional comments

### Steps to reproduce the issue - Backup of all Components using Export JCB Packages - Uninstall Component Builder - Install Component Builder - Import JCB Package (JCB_smartPackage.zip) ### Expected result - Modules are linked to their components ### Actual result - Modules are unlinked and therefore are not built by the compiler ### System information (as much as possible) - OS Name & Version: - MySql Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1 - Apache Version: - PHP Version: 7.4.30 - Joomla Version: 3.10.10 - JCB Version: 3.1.4 - Browser: ### Additional comments
Author
Member

I'm not sure if this problem is new. It's the first time i've done this Backup/Restore with uninstalling JCB completely

I'm not sure if this problem is new. It's the first time i've done this Backup/Restore with uninstalling JCB completely
Owner

We did work on this issue some time past... but the problem was that the data dit not get exported and so was no able to be linked on import since it was not there.

A fixe for this was added and so data exported on the current version should import correctly with regards to modules and plugins.

So if you can test this, export a package from the current version 3.1.4 and import it in a fresh install and see if the issue presists.

Hopfully this is not that major trouble to remap the mudlues and plugins.

We did work on this issue some time past... but the problem was that the data dit not get exported and so was no able to be linked on import since it was not there. A fixe for this [was added](https://git.vdm.dev/joomla/Component-Builder/blame/branch/staging/admin/models/joomla_components.php#L707) and so data exported on the current version should import correctly with regards to modules and plugins. So if you can test this, export a package from the current version 3.1.4 and import it in a fresh install and see if the issue presists. Hopfully this is not that major trouble to remap the mudlues and plugins.
Author
Member

Actually this was a test run and the export was done with the latest version and the import shortly afterwards. i have not tested the actual backup feature

Actually this was a test run and the export was done with the latest version and the import shortly afterwards. i have not tested the actual backup feature
Martin Kopp changed title from Link between Modules and Components is lost after Backup/Restore to Link between Modules and Components is lost after Export/Import 2022-07-13 20:39:42 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#935
No description provided.