Skip to content

App with multi-lingual names is shown as Array when upgrading #6024

Description

@tcitworld

Steps to reproduce

  1. Create an local app with <name lang="en">User account deletion</name> and another language, let's say <name lang="fr">Supprimer son compte</name>.
  2. Install it.
  3. Make a version upgrade manually

Expected behaviour

The app name should show up in the users language, or at least the default app name in english should show up.
Putting just <name>User account deletion</name> inside the info.xml doesn't fixes this.

Actual behaviour

App is named « Array »
selection_092

Environment

git master - Nextcloud 13

Nextcloud logs

[Tue Aug  8 10:49:06 2017] Array to string conversion at /home/tcit/dev/nextcloud/server/lib/private/legacy/template/functions.php#38

Activity

  1. tcitworld commented on Aug 8, 2017

    @tcitworld
    MemberAuthor

    Found a fix.

  2. added this to the Nextcloud 13 milestone on Aug 8, 2017
  3. MorrisJobke commented on May 23, 2018

    @MorrisJobke
    Member

    We should fix this in another way: nextcloud/docker-ci#93

    I will have a look at this.

  4. tcitworld commented on May 23, 2018

    @tcitworld
    MemberAuthor

    @MorrisJobke In the meantime, maybe recommend not using multilingual names, summaries and descriptions ?

  5. MorrisJobke commented on Jul 3, 2018

    @MorrisJobke
    Member

    In the meantime app names are properly translated. Only viewing it is missing.

  6. Drugoy commented on Sep 10, 2018

    @Drugoy

    Any news?

  7. removed this from the Nextcloud 15 milestone on Nov 15, 2018
  8. 21 remaining items

  9. skjnldsv commented on Aug 20, 2020

    @skjnldsv
    Member

    @tcitworld fixed?

  10. tcitworld commented on Aug 20, 2020

    @tcitworld
    MemberAuthor

    Nope, still happening with 20 unfortunately.

    image

    (It's correctly showing on the apps management page, btw)

  11. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Aug 20, 2020
  12. removed this from the Nextcloud 17.0.10 milestone on Aug 20, 2020
  13. added
    good first issueSmall tasks with clear documentation about how and in which place you need to fix things in.
    on Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugfeature: apps managementgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions