? Success

User tests: Successful: Unsuccessful:

avatar infograf768 infograf768 - open - 3 Aug 2014
avatar jissues-bot jissues-bot - change - 3 Aug 2014
Labels Added: ? ?
avatar jissues-bot jissues-bot - change - 3 Aug 2014
Title
[34037] multilanguage: cannot update an associated article from the frontend
[#34037] [34037] multilanguage: cannot update an associated article from the frontend
avatar jissues-bot jissues-bot - change - 3 Aug 2014
Title
[34037] multilanguage: cannot update an associated article from the frontend
[#34037] [34037] multilanguage: cannot update an associated article from the frontend
avatar infograf768 infograf768 - change - 3 Aug 2014
Title
[34037] multilanguage: cannot update an associated article from the frontend
[#34037] [34037] multilanguage: cannot update an associated article from the frontend
avatar infograf768 infograf768 - change - 3 Aug 2014
Title
[#34037] [34037] multilanguage: cannot update an associated article from the frontend
[#34037] multilanguage: cannot update an associated article from the frontend
avatar Bakual
Bakual - comment - 3 Aug 2014

Is this a side effect of #3944 ?

avatar infograf768
infograf768 - comment - 4 Aug 2014

Yes, it is.
If I change line 374

if ($id && $app->isSite() && $assoc)

to

if ($this->getState('article.id') && $app->isSite() && $assoc)

then the error is gone.

remains to decide what is the best solution.
What do you suggest?

avatar Bakual
Bakual - comment - 4 Aug 2014

I wonder why there is a difference between $id and $this->getState('article.id') in edits. I'd have to dig through where this state is set.

However I'd say if that PR broke it by changing from $this->getState('article.id') to $id and reverting that line fixes it. Then go with that approach. It was only a sidechange in that PR anyway.

avatar infograf768
infograf768 - comment - 4 Aug 2014

Good test on jc + mine. Merging.

avatar infograf768 infograf768 - change - 4 Aug 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-08-04 08:45:55
avatar infograf768 infograf768 - close - 4 Aug 2014
avatar infograf768 infograf768 - reference | b166f16 - 4 Aug 14
avatar infograf768 infograf768 - merge - 4 Aug 2014
avatar infograf768 infograf768 - close - 4 Aug 2014
avatar infograf768 infograf768 - head_ref_deleted - 4 Aug 2014

Add a Comment

Login with GitHub to post a comment