addon_migration_tool icon indicating copy to clipboard operation
addon_migration_tool copied to clipboard

Error when attempting to Move/Copy batch

Open mForcella opened this issue 4 years ago • 1 comments

When I attempt to Move/Copy a batch from Imported Batches to the Home directory I receive the following error:

Call to a member function getCollectionName() on null

.../concrete/views/dialogs/page/drag_request.php(147): Error->null

mForcella avatar Aug 27 '21 23:08 mForcella

Additionally, the error only occurs when attempting to move BOTH of the following:

A folder with subfolders and a folder w/out subfolders.

The error originates from this code block:

                        <div class="checkbox">
                            <label>
                                <input type="radio" name="dtask" value="<?= $dragRequestData::OPERATION_COPYALL ?>" />
                                <?= h(t('Copy "%1$s" and all its children beneath "%2$s"', $singleOriginalPage->getCollectionName(), $dragRequestData->getDestinationPage()->getCollectionName())) ?>
                            </label>
                        </div>

mForcella avatar Sep 02 '21 21:09 mForcella