?
avatar blueforce
blueforce
21 Nov 2014

Steps to reproduce the issue

  1. Turn error reporting in config to maximum
  2. go to article manager
  3. make a new article
  4. provide a title, and content
  5. click save
  6. a blank page appears when error reporting is "standard" or when is set to "maximum" you 'll get the message below.

Expected result

Notice: Undefined variable: app in /Applications/MAMP/htdocs/joomla340/administrator/components/com_content/models/article.php on line 497

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/joomla340/administrator/components/com_content/models/article.php on line 497

Fatal error: Call to a member function get() on null in /Applications/MAMP/htdocs/joomla340/administrator/components/com_content/models/article.php on line 497

Actual result

Blank page (with error reporting standard)

System information (as much as possible)

J! Version: 3.4.0-dev (Build: Nov. 21.)
Browser: Chrome
PHP: 5.6.2 and 5.5.38

Additional comments

avatar blueforce blueforce - open - 21 Nov 2014
avatar Bakual
Bakual - comment - 21 Nov 2014

Looks like the nightlies are not properly updated. @mbabker Can you have a look at what may be broken with the script?

This bug is fixed since two weeks with this commit: 842d95b
But in nightly it's indeed still buggy.

avatar brianteeman
brianteeman - comment - 21 Nov 2014

Confirmed but with a different error message

Notice: Undefined variable: app in administrator/components/com_content/models/article.php on line 522

Fatal error: Call to a member function enqueueMessage() on a non-object in administrator/components/com_content/models/article.php on line 522

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5159.

avatar Bakual
Bakual - comment - 21 Nov 2014

@brianteeman I see the problem, but I wonder how you got there. That line is triggered when there is no alias specified but the (generated?) alias already existed somehow.
It should show the warning:

Alias already existed so a number was added at the end. You can re-edit the article to customise the alias

avatar brianteeman
brianteeman - comment - 21 Nov 2014

I created an article, typed a title and pressed save and close

On 21 November 2014 18:46, Thomas Hunziker notifications@github.com wrote:

@brianteeman https://github.com/brianteeman I see the problem, but I
wonder how you got there. That line is triggered when there is no alias
specified but the (generated?) alias already existed somehow.
It should show the warning:

Alias already existed so a number was added at the end. You can re-edit
the article to customise the alias


Reply to this email directly or view it on GitHub
#5159 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar Bakual
Bakual - comment - 21 Nov 2014

Try this fix: #5160

avatar zero-24 zero-24 - close - 21 Nov 2014
avatar Bakual
Bakual - comment - 21 Nov 2014

Looks like Michael has a task to fix the script that does the nightly builds.
So the issue itself is fixed already in staging, but the nightly builds currently are a bit broken.

avatar Bakual Bakual - close - 21 Nov 2014
avatar Bakual Bakual - change - 21 Nov 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-11-21 19:54:01
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment