Welcome, Guest
Username: Password: Remember me

TOPIC: Save to copy with a suffix

Save to copy not working properly 31 Oct 2014 07:58 #12725

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
Save to copy is not working properly.

Also when we click on the save to copy should it not copy with the word copy on the title.This issue creates a problem when the title is marked as unique and we try to to click on the copy as it is failing with a duplicate message.

Regards
Vivek
Last Edit: 31 Oct 2014 07:58 by vivek.
The administrator has disabled public write access.

Save to copy not working properly 03 Nov 2014 13:11 #12732

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Can I check your component please ?
Because for me it works correctly.

If the field is 'Unique', then the error message raises if the field has not been renamed before to copy.
I didn't saw the word 'Copy'. I mean I don't even remember I have coded this.

Sometimes it is boring to have to code all this things that Joomla should be able to handle by itself.
It would be great to check if your issue is cook problem, or Joomla problem.

Can you tell me wich project and I will have a look.
Coding is now a piece of cake
The administrator has disabled public write access.

Save to copy not working properly 04 Nov 2014 15:29 #12743

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
My Project is "Master" and the table is Test.

I had already created a row with title called "TEST".Now go to this record and click on Save to Copy.It will throw the duplicate error.

Expected Behaviour as in Standard Joomla articles

Go to the "TEST" row.Click on the save to copy button, it should create with a title "Copy of TEST" and save it.

Regards
Vivek
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Save to copy not working properly 04 Nov 2014 16:39 #12745

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok I just have tested.

Everything is normal because this feature is not handled yet.

I can try to achieve it as soon as I can.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: vivek
Time to create page: 0.076 seconds

Get Started