Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Can't change shared Calendar entry by another user #733

Closed
farson2003 opened this issue Mar 11, 2013 · 18 comments
Closed

Can't change shared Calendar entry by another user #733

farson2003 opened this issue Mar 11, 2013 · 18 comments
Labels

Comments

@farson2003
Copy link

Can't change shared Calendar entry by another user

Expected behaviour
When a user (owner/administrator) shares a Calendar with another user (collaborator) and provides him full modification permission, collaborator should have ability to change it.

Actual behaviour
When Collaborator tries to change calendar entry by hitting the submit button, the error message “Missing or invalid fields: “ appears (see image). The entry cannot be edited by collaborator.

Steps to reproduce

  1. Testuser03 creates calendar entry.
  2. Testuser03 gives full calendar-control to testuser01 through OC web interface.
  3. Testuser01 tries to change calendar entry through his web interface.
  4. Testuser01 gets the error message “Missing or invalid fields: “(see image) when

hitting the submit button.

Server configuration:
Server should be Ubuntu, as far as I know. (AllInkl Hosting).
PHP Version 5.3.18
PHP-CGI Versionen 5.3.18 4.4.9 5.2.12
MySQL Version 5.1.66

ownCloud version: ownCloud 5.0 beta 1 (aktuell)
Missing field

@BernhardPosselt
Copy link

@georgehrke

@greg0r
Copy link

greg0r commented Mar 21, 2013

I have the same issue here. and I have additionally this issue #828.
potentially related?

Server configuration:
owncloud 5.0.0
Server Ubuntu 12.04
PHP Version 5.3.10-1ubuntu3.6
Apache2 2.2.22
fastcgi

@greg0r
Copy link

greg0r commented Mar 22, 2013

when pushing the "Bestätigen" (confirm) button after editing the shared calendar i see the following log in owncloud_log
{"app":"PHP","message":"Only variables should be passed by reference at /var/www/vhosts/domain.tld/owncloud/apps/calendar/templates/part.share.php#53","level":2,"time":1363961369}

@farson2003
Copy link
Author

Is there any solution in sight?
Any Dev having a look at this issue?

@georgehrke
Copy link
Contributor

I'll take a look as soon as possible

@farson2003
Copy link
Author

Will this be solved in 5.03?

@greg0r
Copy link

greg0r commented Apr 3, 2013

I just updated to version 5.0.3 and the issue still exists. Do you need any additional information? By the way thanks for your nice and obviously hard work.

@farson2003
Copy link
Author

Yes, something one cannot say often enough:
Excellent work by ALL developers. I will post this opinion in the forum as well (not the right place here anyway, but I guess the Dev may accept this exception here once :-)

@mrijke
Copy link

mrijke commented Apr 5, 2013

I've been seeing something that might be related to this:

User A creates a calendar, shares it with group G with full permissions
Member of group G M1 creates an event in the shared calendar
M1 cannot edit or delete the event.

When trying to edit the event the error "Missing or invalid fields" appears.
When trying to delete the event the error "Deletion failed" appears.

EDIT: These errors only happen in the web-interface. When directly editing an event through Calendar.app it works.

@georgehrke
Copy link
Contributor

this fix will be 🚢 with 5.0.4 :)

@greg0r
Copy link

greg0r commented Apr 8, 2013

Georg, I applied the bugfix and tadaa, it works. Thank you very much. Great work.

@georgehrke
Copy link
Contributor

:)
On Apr 8, 2013, at 8:30 PM, greg0r [email protected] wrote:

Georg, I applied the bugfix and tadaa, it works. Thank you very much. Great work.


Reply to this email directly or view it on GitHub.

@farson2003
Copy link
Author

@georgehrke : Well done. Thank you!

@imanolGOMI
Copy link

i update but not work. When i delete an event i recived a message with: {"message":"You dont have permission to delete this event.","status":"error"}.

How i can fix?

@georgehrke
Copy link
Contributor

I already fixed it, but the fix didn't make it into 5.0.4.
It'll be released with 5.0.5

You can fix it manually by applying this patch: 2e254d6

@imanolGOMI
Copy link

thanks it works! 👍

@patricks
Copy link

Hi,
I have updated my owncloud server to 5.0.5, but I have the same problem again. I also checked the object.php file (where the above patch gets applied) but this is already the new one. Any ideas how to fix this?

@patricks
Copy link

With the my little fix: owncloud/calendar#15 everything works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants