Skip to content

Conversation

@nickvergessen
Copy link
Member

Signed-off-by: Joas Schilling [email protected]

@nickvergessen nickvergessen added 3. to review Waiting for reviews security labels Jan 19, 2021
@nickvergessen nickvergessen added this to the Nextcloud 20.0.6 milestone Jan 19, 2021
@nickvergessen nickvergessen changed the title Update 3rdparty after Archive_Tar [stable20] Update 3rdparty after Archive_Tar Jan 19, 2021
@rullzer rullzer mentioned this pull request Jan 19, 2021
@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 19, 2021
@faily-bot
Copy link

faily-bot bot commented Jan 19, 2021

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 1473: failure

acceptance-users

  • tests/acceptance/features/users.feature:47
Show full log
  Scenario: users navigation without disabled users                                   # /drone/src/tests/acceptance/features/users.feature:47
    Given I act as Jane                                                               # ActorContext::iActAs()
    And I am logged in as the admin                                                   # LoginPageContext::iAmLoggedInAsTheAdmin()
    And I open the User settings                                                      # SettingsMenuContext::iOpenTheUserSettings()
    And I open the "Disabled users" section                                           # AppNavigationContext::iOpenTheSection()
    And I see that the list of users contains the user disabledUser                   # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
    And I open the actions menu for the user disabledUser                             # UsersSettingsContext::iOpenTheActionsMenuOf()
      Row for user disabledUser in Users Settings could not be found
      Actions menu for user disabledUser in Users Settings could not be found (NoSuchElementException)
    And I see that the "Enable user" action in the disabledUser actions menu is shown # UsersSettingsContext::iSeeTheAction()
    When I click the "Enable user" action in the disabledUser actions menu            # UsersSettingsContext::iClickTheAction()
    Then I see that the section "Disabled users" is not shown                         # AppNavigationContext::iSeeThatTheSectionIsNotShown()
    When I open the User settings                                                     # SettingsMenuContext::iOpenTheUserSettings()
    Then I see that the section "Disabled users" is not shown                         # AppNavigationContext::iSeeThatTheSectionIsNotShown()

@MorrisJobke MorrisJobke merged commit 8395819 into stable20 Jan 19, 2021
@MorrisJobke MorrisJobke deleted the update-3rdparty branch January 19, 2021 12:41
@mtierltd
Copy link

Hi

This change breaks installing some applications due to the changes in Archive_Tar,
if there are symlinks present in the archive, because extract() will return false.

@ChristophWurst
Copy link
Member

Mind elaborating what kind of applications you are talking about? Nextcloud apps? Why would they have symlinks? Do you have any tickets?

@mtierltd
Copy link

A nextcloud application yes that has a symlink in the vendor directory, which was not a problem before.
This can be removed from the tarball, so no problem there, but I can tell you that the behavior of Archive_TAR
has changed and now extract() returns false on perfectly fine tarballs, breaking nextcloud application installation with Error: Could not extract app. (timetracker in this case).

We have been having issues after updating to 20.0.6 and I've done a test with Archive_Tar 1.4.12 which
is included in 20.0.6 and it indeed returns false on extract, however Archive_Tar 1.4.11 and earlier versions
return true.

@ChristophWurst
Copy link
Member

timetracker

Please let the authors of that apps know that they are not supposed to put symlinks into their tarballs.

@ChristophWurst
Copy link
Member

It's already known as per mtierltd/timetracker#86 and mtierltd/timetracker#90

@mtierltd
Copy link

Can you elaborate on why symlinks are not to be used? What is the technical reason behind it?

@ChristophWurst
Copy link
Member

See the 3rdparty bump nextcloud/3rdparty#603 for details

@mtierltd
Copy link

Okay so no technical reason. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants