I am having thi issue trying to use the cmis module.

1) deleting a file through the cmis browser:

Warning: Parameter 1 to cmis_browser_content_delete_confirm() expected to be a reference, value given in drupal_retrieve_form() (line 787 of C:\webserver\apache2\htdocs\includes\form.inc).

2) activating the CMIS Repository Switcher Block:
Warning: Parameter 1 to cmis_repository_switcher_form() expected to be a reference, value given in drupal_retrieve_form() (line 787 of C:\webserver\apache2\htdocs\includes\form.inc).

I am using php 5.3.1, Drupal 7.12, Apache 2 on Windows 2008 R2

CommentFileSizeAuthor
#3 cmis.1517778.3.patch551 bytestobiasb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

minimike’s picture

Same here. I'M using FreeBSD 8.3 with jails. Jail 1 is the Appserver (Jboss 5.1) what is powering Nuxeo. Another one is the Webserver with Drupal in one Vhost (PHP 5.3 over CGI Apache 2.22 Mod_Fcgid) on an PostgreSQL 9.1 Database.

For developing and tests I could provide an second Jboss with Nuxeo ( 5.5 HotFix 07) over HTTPS to the developerteam.

cheers Darko

gauravvdeshpande’s picture

Hi I am facing the same issue , what could be the cause?

tobiasb’s picture

Status: Active » Needs review
FileSize
551 bytes

There is a patch for 2. in #1804792: Warning: Parameter 1 to cmis_repository_switcher_form() expected to be a reference.

For the 1. bug, see attachement ;-)

IanNorton’s picture

Assigned: Unassigned » IanNorton
Status: Needs review » Closed (fixed)

Thanks tobiasb, patched and committed in latest version

gauravvdeshpande’s picture

Yes I could solve this by adding $form, to the function definition. This bug present in CMIS other sub modules too.