[BUG]: Error when you Save a Library as Copy #1162
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?
What Happened?
Saved a Library as Copy and got the following Error in J3 & J5:
J3:
Call to undefined method ComponentbuilderModelLibrary::generateUniqe()
J5:
Call to undefined method VDM\Component\Componentbuilder\Administrator\Model\LibraryModel::generateUniqe()
Steps to reproduce the Bug
Go to a Library and try to
Save as Copy
Following Error comes up:
Which Joomla version are you compiling in?
v3.10.12 & v5.1.2
Which PHP version are you compiling in?
v8.0.30 & v8.2.18
Which Joomla versions are you targeting?
v3.10.12 & v5.1.2
Which PHP version are you targeting?
v8.0.30 & v8.2.18
Which Web server is JCB running on?
Apache/2.4.59 (Debian)
Which Relational Database is JCB running on?
MariaDB 11.3.2
Which OS is JCB running on?
Ubuntu Desktop (24.04)
Which JCB version are you using?
v3.2.3-beta4 & v5.0.2-beta4
Where in JCB did this issue occur?
Library(admin_view)
On which browsers did you encounter the issue?
Firefox
Additional Comments
No response
Hmm please take a closer look at this, since the code is there in the class, maybe because its protected. Can you test what happens if its a public method?
There seems to be a typo in the method name, should be generateUniq
u
e() instead of generateUniqe()@ohrionmartin please validate if you are still getting this issue. I have tested it on my local system using the latest JCB v5.0.3-alpha3 and it seems to be fixed. So if you could please validate that, so we can close this issue.
I can confirm that the issue has now been fixed, we can go ahead & close it!