Closed (fixed)
Project:
Node clone
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
11 Aug 2011 at 22:16 UTC
Updated:
19 Nov 2014 at 03:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tnightingale commentedWhoops, forgot to roll patches with latest changes!
Here are working patches
Comment #2
summit commentedHi, When will a new dev for 7 will be made. I see a version from february 2011..
thanks for going into that.
Subscribing, greetings, Martijn
Comment #3
peterjlord commentedGreat already done. I was just going to have a go at this one rather than doing at theme level.
Thanks job well done.
Comment #4
robloachUpdated, tested, works.
Comment #5
kristof.bourgeois@telenet.be commentedHi,
After installing the patch i get an error when I try to get the clone link into my view.
I've made a table view with all my nodes and I trying to get the posibility to edit , copy and delete the nodes.
the error says:
The handler for this item is broken or missing and cannot be used. If a module provided the handler and was disabled, re-enabling the module may restore it. Otherwise, you should probably delete this item.
Thanks for any help
Comment #6
robloachViews 3?
Comment #7
kristof.bourgeois@telenet.be commentedYes, I use the last version of Drupal (7.10)
Comment #8
robloachComment #9
lokolo commentedPatch doesnt work for me, after enabling it in views I get an AJAX Error:
and after saving the view the whole site is unreachable, just get a blank page with the same fatal error message.
Drupal 7 and all Contribute Modules are up to date
Comment #10
kristof.bourgeois@telenet.be commentedI had a look at the module but i am not able to fixed it.
I guess we have to wait till it fixed of another module shown up...
Comment #11
kristof.bourgeois@telenet.be commentedHi guys,
This module works perfect with views 3!
The problem was I was forgotten to add the path at the .info file.
Comment #12
jbiechele commentedThe patch from #4 doesn't work on my project, using node_clone 7.x-1.x-dev and patch #4 applied.
Function clone_access() could not be found.
A suggestion for the code in views_handler_field_node_link_clone.inc:
This version works for me as users only have the permission to clone their own nodes.
May be user_access() should be adjusted like that?
Comment #13
morbiD commentedShouldn't that use AND rather than OR? Otherwise a user will need both permissions to see the link. I changed it to the following and it seems to work:
Comment #14
johnvSee attached patch against latest Views -dev version.
It respects 'clone' permissions and resembles more the default 'Edit link'.
Comment #15
pwolanin commentedLooks ok, but there are some commented out lines that shoudl be removed in the views handler:
Comment #16
pwolanin commentedcommitting this patch
Comment #17
pwolanin commentedbackport?
Comment #19
pwolanin commentedI think no backport is worth while