-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix EZP-20601: Permission checking error when using object states #477
Conversation
Thank you for the patch. This should be definetly merged to trunk-master. |
Hi, Thanks for the contribution @Arondor ! I wondered whether this fix was related to an existing issue in http://jira.ez.no/browse/EZP (if not, it would make sense to create one, for the sake of tracking, changelog generation). @m-keil did this apply smoothly and fixed the issue for you? Cheers guys, |
Hi Nicolas, Here is the error log entry: [ Mar 13 2013 09:58:28 ] [10.64.84.33] eZMySQLiDB:
Regards |
Thanks Max for the confirmation. Do you happen to know whether there is a related issue in the issue tracker for this? Thank you, |
I found nothing for this issue. |
(..) |
Hey, I have no permission to open the issue page above. Can you sum up the main points of this ticket? |
@m-keil |
Thank you, @jjCavalleri |
@jjCavalleri The issue you linked to is not related, this is about object states. And given the internal nature of the other issue I have removed your link and info about it. |
I created this issue https://jira.ez.no/browse/EZP-20601 Thanks |
Hey, already 3 weeks ago since the ticket was reported. Can someone please take care of this bug? Thanks |
@m-keil This is security + sql related in legacy, this is not something we want to break. So review of this will take some time and will probably have to wait until we are done focusing on 5.1. |
Any news on this? |
@Arondor Can you rebase this branch on master and push so travis runs the unit tests on it? |
I have the impression that it is already on master. |
@Arondor Whats already on master? Travis tests?: yes |
I was talking about the fix. |
ah, ok assumed you where doing a topic branch as explained in the "How to contribute to eZ Publish using Git" article. Ok, in your case it's something like (I assume "upstream" is ezsystems repo and "origin" is your repo):
The second command assumes you have already checked out your master locally. However, doing work on master is not really ideal, you will only be able to do one issue at a time, and you will have to rebase every time you want to start on something new otherwise you will have conflicts with the real master which is on upstream. So if you want you can instead clean it up by doing the following (again assuming you have checked out your own master):
Then you can close this PR and open a new one based on the new 20601_permission_error branch. |
At the time I did the fix I didn't know anything about git. But now I know a thing or two, and avoid working on master is one of them ;) Instead of pushing on master, I can do what your suggesting on the second part of your post. Isn't that a more cleaner way to proceed? |
yes there is, here is one of them:
|
I have an error : |
It seem origin in your case is ez repo and not your own, adapt the examples to fit your setup ;) |
I wasn't aware of the way to configure "upstream" and "origin".
I think it went ok. |
Yes (open pr but not merge), but I did it for you, closing this one and moving discussion to #745 |
Thank for your help. I understand the whole thing much better now :) |
Using object states caused a fatal error in the sql query.
Used the previous query from the 4.6 : http://pubsvn.ez.no/doxygen/4.6.0/html/ezcontentobjecttreenode_8php_source.html#l01633