Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when attempting to Move/Copy batch #97

Open
mForcella opened this issue Aug 27, 2021 · 1 comment
Open

Error when attempting to Move/Copy batch #97

mForcella opened this issue Aug 27, 2021 · 1 comment

Comments

@mForcella
Copy link

mForcella commented Aug 27, 2021

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
Copy link
Author

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant