? ? Success

User tests: Successful: Unsuccessful:

avatar sovainfo
sovainfo
3 Apr 2015

Still fighting with github to make it do what we want. Doesn't allow me to add changes to this pr.

avatar sovainfo sovainfo - open - 3 Apr 2015
avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2015
Labels Added: ?
avatar sovainfo sovainfo - change - 3 Apr 2015
The description was changed
avatar zero-24 zero-24 - change - 3 Apr 2015
Category Language & Strings UI/UX
avatar wilsonge
wilsonge - comment - 3 Apr 2015

If we aren't using the old strings anymore can we deprecate them please? Otherwise come Joomla 4.0 it's going to be horrendus to work out what strings we are and aren't using. Plus it makes it harder for developers to know what strings to do

avatar sovainfo
sovainfo - comment - 3 Apr 2015

Where is the documentation on deprecating messages?

avatar brianteeman
brianteeman - comment - 4 Apr 2015

There is no documentation for deprecating language strings. I did propose something but this was rejected.

@wilsonge How do you propose to deprecate the strings. The problem is that the stupid ancient way that TT are given strings to translate will not be able to show if a string is deprecated


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6644.
avatar sovainfo
sovainfo - comment - 4 Apr 2015

Considering there is no documentation on deprecating language string, this PR should be set to RTC.
See #6001 & #6002

With special thanks to @davdebcom, @designbengel and @infograf768

avatar brianteeman
brianteeman - comment - 7 Apr 2016

Test instructions from @wilsonge From what I understand you need to install an extension when having not enough file permissions in the components (or some folder that's needed as described in the link in the description) to move files into the directory. Before the patch you'll just see a message "Copy file failed" and after you'll see a message stating what the to and from directory are.


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

avatar mikeveeckmans mikeveeckmans - test_item - 7 Apr 2016 - Tested successfully
avatar mikeveeckmans
mikeveeckmans - comment - 7 Apr 2016

I have tested this item :white_check_mark: successfully on bd27a90

TEST OK
(J3.5.1 , PHP 7)
made tmp folder locked and unwriteable.

screen shot 2016-04-07 at 04 42 59


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

avatar infograf768
infograf768 - comment - 7 Apr 2016

Not sure I understand the messages:

Warning
Warning: Failed to move file: /Applications/MAMP/tmp/php/phptyMAxf => /Applications/MAMP/htdocs/trunkgitnew/tmp/jostag_plugin_for_2.5.zip
Error
Archive does not exist
Unable to find install package

what is php/phptyMAxf ?

Should not the message says
Impossible to move the jostag_plugin_for_2.5.zip file to the /Applications/MAMP/htdocs/trunkgitnew/tmp/ folder ?

Also, I would use to instead of => as it would be easier for rtl translations.

avatar brianteeman
brianteeman - comment - 7 Apr 2016

Valid point about using to

On 7 April 2016 at 11:22, infograf768 notifications@github.com wrote:

Not sure I understand the messages:

Warning
Warning: Failed to move file: /Applications/MAMP/tmp/php/phptyMAxf => /Applications/MAMP/htdocs/trunkgitnew/tmp/jostag_plugin_for_2.5.zip
Error
Archive does not exist
Unable to find install package

what is php/phptyMAxf ?

Should not the message says
Impossible to move the jostag_plugin_for_2.5.zip file to the
/Applications/MAMP/htdocs/trunkgitnew/tmp/ folder ?

Also, I would use to instead of => as it would be easier for rtl
translations.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#6644 (comment)

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

avatar mbabker
mbabker - comment - 7 Apr 2016

@infograf768 That path is the temporary path & name that whatever file you tried uploading gets sent to by PHP before the underlying code ultimately moves it into place. JFile doesn't know what the name of the file you tried uploading, only what the source path it's located at is, so that's all the message can display when rendered from there. To get a message like what you're looking for, it would need to be rendered by the method processing the upload as that will have access to the data extracted from the $_FILES superglobal (which contains that name).

avatar joomla-cms-bot
joomla-cms-bot - comment - 8 Apr 2016

This PR has received new commits.

CC: @mikeveeckmans


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

avatar joomla-cms-bot joomla-cms-bot - change - 8 Apr 2016
Labels Added: ?
avatar joomla-cms-bot
joomla-cms-bot - comment - 8 Apr 2016

This PR has received new commits.

CC: @mikeveeckmans


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

avatar brianteeman
brianteeman - comment - 8 Apr 2016

Why create a new string JLIB_FILESYSTEM_ERROR_WARNFS_ERR04 instead of updating JLIB_FILESYSTEM_ERROR_WARNFS_ERR02


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

avatar infograf768
infograf768 - comment - 9 Apr 2016

@mbabker
I understand what you say. In that case I think that it is useless to display the source in the message as it is not understandable.
Why not simply use
Warning: Failed to move file to /Applications/MAMP/htdocs/trunkgitnew/tmp/jostag_plugin_for_2.5.zip

Btw, Warning: may be useless as it is stated in the Header of the message

avatar mbabker
mbabker - comment - 9 Apr 2016

Source is only "not understandable" if you're moving something from a temporary location with a temporary file name. JFile doesn't know whether it's been told to move something from the temporary location or told to move the index.php file to new.php. So basically if you say hide it because some paths may look like gibberish then you have to not show the source path for all cases.

avatar sovainfo
sovainfo - comment - 9 Apr 2016

This PR corrects the mistake by core code of being too abstract. When something goes wrong it is not good enough to report something went wrong. You need to provide sufficient details in order to investigate the cause of whatever went wrong. Would be nice if Joomla was made so robust it would tell the cause, can't wait for that! In the mean time it would be helpful when Joomla provides sufficient details so you can investigate what the cause is. The fact core code is wrongly using the original messages doesn't mean any code using it is wrong. So, the core code must be changed to use a different message. Haven't found the new message, so it needed to be created. Obviously, any code making the same mistake can be corrected the same way. Correct usage of the message doesn't need any change!

avatar designbengel designbengel - test_item - 15 Apr 2016 - Tested successfully
avatar designbengel
designbengel - comment - 15 Apr 2016

I have tested this item :white_check_mark: successfully on 1755915


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

avatar mikeveeckmans mikeveeckmans - test_item - 15 Apr 2016 - Tested successfully
avatar mikeveeckmans
mikeveeckmans - comment - 15 Apr 2016

I have tested this item :white_check_mark: successfully on 1755915

test OK


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

avatar brianteeman brianteeman - change - 15 Apr 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 15 Apr 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 15 Apr 2016
Milestone Added:
avatar rdeutz rdeutz - reference | 6a9117f - 15 Apr 16
avatar rdeutz rdeutz - merge - 15 Apr 2016
avatar rdeutz rdeutz - close - 15 Apr 2016
avatar rdeutz rdeutz - change - 15 Apr 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-04-15 13:02:27
Closed_By rdeutz
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:
avatar brianteeman brianteeman - change - 11 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment