? Success

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
8 Aug 2016

Summary of Changes

This PR just removes two lines of commented code

Testing Instructions

This just remove 2 comments so i don't see how this can be tested ;)

Documentation Changes Required

None ?

avatar joomla-cms-bot joomla-cms-bot - change - 8 Aug 2016
Category Libraries
avatar zero-24 zero-24 - open - 8 Aug 2016
avatar zero-24 zero-24 - change - 8 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Aug 2016
Labels Added: ?
avatar jeckodevelopment jeckodevelopment - test_item - 8 Aug 2016 - Tested successfully
avatar jeckodevelopment
jeckodevelopment - comment - 8 Aug 2016

I have tested this item successfully on a429f4d

On code review.


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

avatar grhcj grhcj - test_item - 8 Aug 2016 - Tested successfully
avatar grhcj
grhcj - comment - 8 Aug 2016

I have tested this item successfully on a429f4d

On Review


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

avatar brianteeman
brianteeman - comment - 8 Aug 2016

Are you sure about this. Has the todo ben done

On 8 August 2016 at 19:59, Lukas Mentel notifications@github.com wrote:

I have tested this item successfully on a429f4d
a429f4d

On Review

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/11520
https://issues.joomla.org/tracker/joomla-cms/11520.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11520 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8YpEwlBE9dMxxlAoFXFxZ2aZho_Mks5qd3yvgaJpZM4JfUfi
.

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

avatar zero-24
zero-24 - comment - 8 Aug 2016

@todo remove code ?

avatar zero-24
zero-24 - comment - 8 Aug 2016
-       // @todo remove code: if(!isset($this->$tag->_data)) $this->$tag->_data = '';
-       // @todo remove code: $this->$tag->_data .= $data;
avatar brianteeman
brianteeman - comment - 8 Aug 2016

I am asking if the to-do has been done. Has the code been removed.
Otherwise it makes no sense that the comment was put there

avatar zero-24
zero-24 - comment - 8 Aug 2016

The todo was to remove the commented code ;)

    /**
     * Character Parser Function
     *
     * @param   object  $parser  Parser object.
     * @param   object  $data    The data.
     *
     * @return  void
     *
     * @note    This is public because its called externally.
     * @since   11.1
     */
    public function _characterData($parser, $data)
    {
        $tag = $this->_getLastTag();
        // @todo remove code: if(!isset($this->$tag->_data)) $this->$tag->_data = '';
        // @todo remove code: $this->$tag->_data .= $data;
        // Throw the data for this item together
        $tag = strtolower($tag);
        if ($tag == 'tag')
        {
            $this->currentUpdate->stability = $this->stabilityTagToInteger((string) $data);
            return;
        }
        if (isset($this->currentUpdate->$tag))
        {
            $this->currentUpdate->$tag->_data .= $data;
        }
    }

There is no code like that in that method (expected the comment itself)

avatar brianteeman
brianteeman - comment - 8 Aug 2016

Strange it wasn't removed at the time then.

avatar zero-24
zero-24 - comment - 8 Aug 2016

Yes ?

avatar wilsonge wilsonge - change - 8 Aug 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-08 20:03:38
Closed_By wilsonge
avatar wilsonge wilsonge - close - 8 Aug 2016
avatar wilsonge wilsonge - merge - 8 Aug 2016
avatar wilsonge
wilsonge - comment - 8 Aug 2016

Those lines were done in a platform update in 2012. I'm pretty confident we'd have found any issues in the last 4 years if there were any :P

Add a Comment

Login with GitHub to post a comment