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
### 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
1. Go to a Library and try to` Save as Copy`
2. 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?
Hmm please take a closer look at this, since the [code is there](https://git.vdm.dev/joomla/Component-Builder/src/commit/2fab51f611ca004245a8c96ec249e5e587c9c3c5/admin/src/Model/LibraryModel.php#L1211-L1231) 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()
https://git.vdm.dev/joomla/Component-Builder/src/commit/29fef2cbea2595ad82e7381dab60090d810af1ec/admin/src/Model/LibraryModel.php#L1179
@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.
@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](https://git.vdm.dev/joomla/pkg-component-builder/releases/tag/v5.0.3-alpha3) and it seems to be fixed. So if you could please validate that, so we can close this issue.

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 CopyFollowing 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
ue() 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!