If tac_lite is also installed the node is cloned successfully, but a warning message is generated:

warning: Illegal offset type in /var/www/html/drupaltest/sites/pada.org/modules/tac_lite/tac_lite.module on line 287.

I'll post more when I have time to evaluate.

Comments

pwolanin’s picture

Project: Node clone » Taxonomy Access Control Lite

Yes, I see the same error when testing on a site with tac_lite. However, I think this is a problem with tac_lite. The node is being saved with taxonomy terms as objects, and tac_lite isn't checking for that case.

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB

I modified tac_lite to confrom better to the current code in taxonomy_node_save. This seems to fix the problem, but it should be more thoroughly tested.

pwolanin’s picture

Title: Warning when tac_lite is also installed » Error on node_save() if $node->taxonomy contains objects

better title

pwolanin’s picture

Priority: Minor » Normal
StatusFileSize
new536 bytes

doh- copied too much from taxonomy module. Attached (simpler) patch should be sufficient.

identity’s picture

Not sure if this is related, but same error received when rearranging book pages from the outline interface within Admin > Content area.

RobRoy’s picture

This may relate to a bug in core http://drupal.org/node/197532. Also, see my NAT bug where I first posted this http://drupal.org/node/188377.

Dave Cohen’s picture

Status: Needs review » Fixed

This fix has been in the 5.x version for some time. Never applied to 4.7 (until now). Thanks pwolanin for the patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.