Bug in duplicate() function
Permalink Browser Info Environment
I have one spesific page type in which I included the FileTree block in the page's Page Defaults. After creating a new page of that type, the FileTree was there as it should, but after I put the page in edit mode and tried to change some settings on the FileTree edit dialog, an MySQL error occured. In this case, the original block is actually an alias from the Page Defaults and Concrete creates a copy of on save. Same error occures if you try to copy the Filetree block to Clipboard and paste it to another page.
Here's the line 281 from FileTree block's controller:
I think it should be:
The latter seems to work as it should.
Here's the line 281 from FileTree block's controller:
$new = parent::duplicate();
I think it should be:
$new = parent::duplicate($newBlockID);
The latter seems to work as it should.
Type: | Discussion |
---|---|
Status: | New |
Best regards,
Andreas
Ivento