Skip to content

called the wrong method - $this->getState() is the right one#2

Merged
cdot merged 1 commit intofoswiki:masterfrom
prmdhost:master
Mar 12, 2015
Merged

called the wrong method - $this->getState() is the right one#2
cdot merged 1 commit intofoswiki:masterfrom
prmdhost:master

Conversation

@prmdhost
Copy link
Copy Markdown
Contributor

Sorry, that slipped through my tests

Cheers, Markus

@cdot
Copy link
Copy Markdown
Contributor

cdot commented Mar 12, 2015

On 12/03/15 07:34, Markus Gerhold wrote:

Sorry, that slipped through my tests

And mine - I hadn't noticed. Reviewing pull requests is a lot harder
than it looks!

BTW I was debating whether we should make the 'not' expression more
general, so it doesn't just apply to the LASTUSER. I can imagine other
scenarios where more sophisticated transition control is required, and
you have already done the difficult bit.

C.

cdot added a commit that referenced this pull request Mar 12, 2015
called the wrong method - $this->getState() is the right one
@cdot cdot merged commit 4255aeb into foswiki:master Mar 12, 2015
@prmdhost
Copy link
Copy Markdown
Contributor Author

Sure, for one, we could add the case where the LASTUSER of a state is actually allowed to do something. Currently we can only negate the LASTUSER.

What scenarios do you have in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants