Firstly, very nice and handy module. And it saved my day.

One small issue I found, when working with Date API (if the entity from has a date field), I was getting the error "expects parameter 2 to be array, null given in DateObject->limitGranularity()". This is because of $form_state is not allowed to be changed in clone_eck_entity_form . The same problem is here https://www.drupal.org/node/1780382 but in eck module itself. Now it is patched and everything works properly, I patched eck_clone for my project and it also doesn't have this issue again.

The patch is attached.

CommentFileSizeAuthor
eck_clone_date_api_issue.patch474 bytesa.dmitriiev

Comments

a.dmitriiev created an issue. See original summary.

ionut.alexuc’s picture

Status: Active » Fixed

Hi,

Thanks for the patch!

This fix was already included in the dev version.
I think you used the released version.

Ionut

c-logemann’s picture

Status: Fixed » Closed (won't fix)

@a.dmitriiev Next time please use actual dev code base before opening an issue. This safes your time and the time of the maintainers.

guillaumeg’s picture

Hi, same problem here and the patch was helpful.

Would it be possible to add this patch to the stable version of the module ?

bassplaya’s picture

Thanks! I am using the dev version now. It works.