Failure

User tests: Successful: Unsuccessful:

avatar astridx
astridx
12 May 2017

Testing Instructions

Create a weblink item and translate it via Multilingual Associations Component

Expected result

Up to now we only support translation of categories. With this PR it is possible to translate also weblink items.

avatar astridx astridx - open - 12 May 2017
avatar astridx astridx - change - 12 May 2017
The description was changed
avatar astridx astridx - edited - 12 May 2017
avatar astridx
astridx - comment - 12 May 2017

Some checks are not successful:
The first one: tests/acceptance/install/InstallWeblinksCest.php:installJoomla failed

It fails because of a spellchange in the danish Languagefiles. This change is fixed in Joomla Browser, but we do not use the current Version of JoomlaBrowser ...

avatar infograf768
infograf768 - comment - 12 May 2017

we never added associations for individual weblinks as they make no sense.
this should be closed.

avatar zero-24
zero-24 - comment - 12 May 2017

we never added associations for individual weblinks as they make no sense.
this should be closed.

@infograf768 as with 3.7.1 release of weblinks we will have a single weblink view wich would make sense to be translated IMO

avatar infograf768
infograf768 - comment - 12 May 2017

i don't think you understand : it just does NOT make sense. Cliking on a web link displays in another page, not in joomla. this means tha the switcher can never be used. you just can't associate them. period. you can associate their categories and display them in function of the language but not associate them.

avatar zero-24
zero-24 - comment - 12 May 2017

Please check: #336 @infograf768 this is a new feature we are trying to release with a new release of weblinks.

avatar infograf768
infograf768 - comment - 12 May 2017

hmm... are you sure all this is really useful?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 May 2017

I have tested this item successfully on a66418f

Missing Lang.-String:
bildschirmfoto 2017-05-13 um 13 23 54


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/weblinks/346.
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 13 May 2017 - Tested successfully
avatar astridx
astridx - comment - 13 May 2017

@franz-wohlkoenig Thank you very much for testing. The missing string is in there now.

@infograf768 You are right. The single view is not really neccessary. But I think weblinks is a component where others (and I) have the opportunity to learn creating componentens. Thats why I think the single view is OK.

avatar infograf768
infograf768 - comment - 14 May 2017

@astridx
As I am not sure both your patches take care of all aspects of associations, I have done here a full implementation of associations for weblinks, which also let's set the assoc when editing a weblink (not through multilingual assocations) as we do for other core components.
It is based on the existing release version of weblinks, but I am sure it will be easy for you to see the .diff with this master one.

Example (without the new ini strings)
screen shot 2017-05-14 at 08 57 50
screen shot 2017-05-14 at 08 57 34

screen shot 2017-05-14 at 09 04 49

I let you look and implement it if it does not yet exists in your patches.

See patch below

avatar infograf768
infograf768 - comment - 14 May 2017

@astridx @zero-24
I am now preparing a full .diff which will contain this + #336 + my changes.

avatar infograf768
infograf768 - comment - 14 May 2017

Here it is

weblinks.patch.zip

avatar astridx
astridx - comment - 14 May 2017

@infograf768
Thank you very much. I (and surely @zero-24) will have a closer look on it next week.

avatar infograf768
infograf768 - comment - 15 May 2017

Note: there will be some corrections to do in my patch concerning the lang strings.
Some strings have to be moved from the sys.ini to the .ini, one string is missing, another one needs correcting the constant in the code.

avatar astridx
astridx - comment - 16 May 2017

Close because of #349

avatar astridx astridx - change - 16 May 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-05-16 09:24:24
Closed_By astridx
avatar astridx astridx - close - 16 May 2017

Add a Comment

Login with GitHub to post a comment