? Conflicting Files ? ? Failure

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
26 Feb 2019

This adds menu item types for com_finder views, removes the submenu and adds them into the mainmenu.

How to test

  1. Apply patch
  2. Go to database view and click on "fix"
  3. Go to menu manager -> All menu items and click "rebuild"
  4. See that the Smart Search menu item can now open up and contains 4 sub menu items and that the submenu in the actual views has been removed.
avatar Hackwar Hackwar - open - 26 Feb 2019
avatar Hackwar Hackwar - change - 26 Feb 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2019
Category SQL Administration com_admin Postgresql com_finder Language & Strings Installation
avatar brianteeman
brianteeman - comment - 26 Feb 2019

Please alpha sort the language file and check to see if we need the _DESC - most of those are completely unnecessary and we have in general removed all _DESC from J4

avatar Hackwar Hackwar - change - 26 Feb 2019
Labels Added: ? ?
avatar Hackwar
Hackwar - comment - 26 Feb 2019

Fixed the language string. The DESC string is maybe not necessary, but it is still used everywhere (100+ results if you search for it) so if you want to remove those, please do that consistently in another PR.

avatar brianteeman
brianteeman - comment - 26 Feb 2019

@Hackwar It has already been done. The only _DESC strings that remain are the few that we are still displaying and the _DESC strings that are for DESCENDING not DESCRIPTION

avatar Hackwar
Hackwar - comment - 26 Feb 2019

No, it hasn't been done, because these strings are fresh from the backend menu items of com_content.

avatar brianteeman
brianteeman - comment - 26 Feb 2019

image

avatar Hackwar
Hackwar - comment - 26 Feb 2019

There are currently 40 default.xml files with a DESC string in them in /administrator/components, excluding the 4 that I've added in this PR. As I said, if that is not wanted/allowed anymore, then please open a PR that removes all these.

avatar brianteeman
brianteeman - comment - 26 Feb 2019

Sorry I didnt realise they were for the menu descriptions. Those are being kept - its the _desc that were used as tooltips that have gone .

/me needs coffee

avatar brianteeman brianteeman - test_item - 3 Mar 2019 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 3 Mar 2019

I have tested this item ? unsuccessfully on 544ace4

Followed test instructions but didnt get a sub menu


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

avatar infograf768 infograf768 - test_item - 4 Mar 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 4 Mar 2019

I have tested this item successfully on 8ac7581

tested OK on a clean install

screen shot 2019-03-04 at 17 11 30


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24020.
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Apr 2019
Category SQL Administration com_admin Postgresql com_finder Language & Strings Installation Administration com_admin com_finder Installation Postgresql SQL
avatar infograf768
infograf768 - comment - 12 May 2019

@Hackwar
Also please solve conflicts.

avatar Hackwar Hackwar - change - 20 May 2019
Labels Removed: J4 Issue
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2019
Category SQL Administration com_admin Postgresql com_finder Installation SQL Administration com_admin Postgresql com_finder Language & Strings Installation
avatar Hackwar
Hackwar - comment - 20 May 2019

I can't see the error that I have in the postgres SQL file. Could someone have a look here?

avatar Hackwar
Hackwar - comment - 9 Jun 2019

Tests have passed now.

avatar Quy
Quy - comment - 9 Jun 2019

I have tested this item successfully on e525eb7

OK with new install.
No submenus when updating using Patchtester, but it might be an issue with Patchtester. Manually ran update SQL successfully.


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

avatar Quy Quy - test_item - 9 Jun 2019 - Tested successfully
avatar chmst
chmst - comment - 12 Jun 2019

I have tested this item successfully on e525eb7

Tested successfully with new installation.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24020.
avatar chmst chmst - test_item - 12 Jun 2019 - Tested successfully
avatar Quy Quy - change - 12 Jun 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 12 Jun 2019

RTC


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

avatar Quy
Quy - comment - 12 Jun 2019

RTC


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

avatar Hackwar Hackwar - change - 14 Jun 2019
Labels Added: Conflicting Files ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Jun 2019
Category SQL Administration com_admin Postgresql com_finder Installation Language & Strings SQL Administration com_admin Postgresql com_finder com_menus Language & Strings Installation
avatar brianteeman
brianteeman - comment - 22 Jun 2019

@franz-wohlkoenig please removed RTC for now
@Hackwar can you please address the two comments from @Quy

Thanks

avatar Quy Quy - change - 23 Jun 2019
Status Ready to Commit Pending
avatar Hackwar Hackwar - change - 24 Jun 2019
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2019
Category SQL Administration com_admin Postgresql com_finder Installation Language & Strings com_menus SQL Administration com_admin Postgresql com_finder Language & Strings Installation
avatar Hackwar
Hackwar - comment - 24 Jun 2019

done

avatar brianteeman
brianteeman - comment - 24 Jun 2019

Database fix will not find the updates as they have an old date. Changing the date to current should resolve that

There is a copy paste error in the sql. You have not updated the "class:associations"

From looking at others this should be "class:finder", "class:finder-maps" etc

Also I'm not sure what the best practice is but the update sql does not have the lft/rght values

avatar brianteeman
brianteeman - comment - 15 Jul 2019

Can you look at resolving the conflicts so that this can be tested please.

avatar richard67
richard67 - comment - 16 Jul 2019

@brianteeman Your comment above about database fixer and file names is wrong. Database fix will not do anything with the schema updates, because they contain only DML (data manipulation language like INSERT, UPDATE, DELETE). The database fixed only handles DDL (data definition language like CREATE TABLE, ALTER TABLE, DROP TABLE). This does not depend on the file name. The file name is only relevant for version compare when updating, so the installer runs only schema updates with version newer than schema version in database before the update.

@Hackwar You should update your testing instructions accordingly. Fix button does not make sense. Schema updates have to be applied e.g. in PhpMyAdmin or PhpPgAdmin or so.

avatar brianteeman
brianteeman - comment - 16 Jul 2019

@richard67 the file name means that the database fix wont even see the update. Whether it works or not is a different issue.

avatar richard67
richard67 - comment - 16 Jul 2019

@brianteeman You are wrong. The database fixer always checks all available schema update files, if there are some from 2.5 it will be checked, too, even when being on a 3.9.10. It is the installer/updater where the file name is relevant. I always wanted to change that, but it would be a bigger development changing the weak points of the database fix, and so I haven't made it yet. But of course you are right with the file names having to be fixed. Only your understanding on the database fixer is wrong.

avatar brianteeman
brianteeman - comment - 16 Jul 2019

learnt something new

avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2019
Category SQL Administration com_admin Postgresql com_finder Installation Language & Strings SQL Administration com_admin Postgresql com_finder Language & Strings External Library Composer Change Installation
avatar Hackwar
Hackwar - comment - 21 Aug 2019

Could those who tested this earlier, please test again, so that we can merge this?

avatar richard67
richard67 - comment - 21 Aug 2019

@Hackwar You should adjust your testing instructions. The Database Fix will not run the insert statements in the schema update because it only handles DDL, as I mentioned in in my comment above. People either have to do a clean install or they have to run the insert statements from the schema update in PhpMyAdmin (or PgMyAdmin if PostgreSQL) after having applied the patch.

avatar Hackwar Hackwar - change - 26 Aug 2019
Labels Added: ?
avatar brianteeman
brianteeman - comment - 29 Aug 2019

Please remove the composer.lock file

avatar brianteeman brianteeman - test_item - 29 Aug 2019 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 29 Aug 2019

I have tested this item ? unsuccessfully on 822d13b

Work ok on a clean install
Does not work on an update - no submenus - and yes I did paste the sql into phpmyadmin


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

avatar bees4ever
bees4ever - comment - 2 Sep 2019

Unfortunaltely it is not wokring for me.

Submenu in the actual views has been removed but there are no 4 sub items in the menu.

Bildschirmfoto 2019-09-02 um 11 52 00

avatar bees4ever bees4ever - test_item - 2 Sep 2019 - Tested unsuccessfully
avatar bees4ever
bees4ever - comment - 2 Sep 2019

I have tested this item ? unsuccessfully on 7e9fac5

Unfortunaltely it is not wokring for me.

see #24020 (comment)


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

avatar roland-d
roland-d - comment - 2 Sep 2019

@Hackwar For me this also doesn't work. The submenu items are gone after applying the patch but the Fix database and Menu Rebuild doesn't add it to the submenu.

avatar roland-d roland-d - test_item - 2 Sep 2019 - Tested unsuccessfully
avatar roland-d
roland-d - comment - 2 Sep 2019

I have tested this item ? unsuccessfully on 7e9fac5


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

avatar brianteeman
brianteeman - comment - 2 Sep 2019

@roland-d can you or one of the students confirm my finding that it was ok on a clean install. Also re your comment about database fix see #24020 (comment)

avatar roland-d
roland-d - comment - 2 Sep 2019

@brianteeman The test done by @bees4ever was on a clean installation as in he cloned the repo, installed J4 and did the test.

avatar brianteeman
brianteeman - comment - 2 Sep 2019

@roland-d can you or the students test #26137

avatar nadjak77 nadjak77 - test_item - 19 Oct 2019 - Tested unsuccessfully
avatar nadjak77
nadjak77 - comment - 19 Oct 2019

I have tested this item ? unsuccessfully on 7e9fac5

not sure if I understand the right way.
point 4: if I do a new menu item "smart search" there is still only one submenu


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

avatar Quy Quy - change - 9 Nov 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-11-09 16:05:53
Closed_By Quy
avatar Quy Quy - close - 9 Nov 2019
avatar Quy
Quy - comment - 9 Nov 2019

Please test PR #27032


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

Add a Comment

Login with GitHub to post a comment