4 Replies Latest reply on Mar 26, 2008 7:07 AM by theute

    Uploading to CMS with other language then english?

    jvitor

      Hi there, i'm having some problems uploading files to CMS (pics, pdf's,etc) when i don't specify the language as English. The problem is that i can't get a working link to those files, it always shows me the default page when trying to access them.

      Example:

      When i upload "test.jpg" and choose english as language i can get the file later using a url like this (uploaded to default/images):

      http://localhost:8080/portal/content/default/images/test.jpg

      if i upload the same file (always successfully), to the same directory but choosing another language i can no longer get the file with the same link, it shows me the default portal page (default/index.html).

      Any tips why i'm getting this behaviour?

      Thks in advance :)

        • 1. Re: Uploading to CMS with other language then english?
          jvitor

          Forgot to say i'm using JBoss AS 4.2.2 GA with Portal 2.6.4

          • 2. Re: Uploading to CMS with other language then english?
            antoine_h

            strange...
            to investigate, the first thing I would do is : check in the CMS repository administration if the file is there, and with which language, and which access restriction set to it, ...etc...

            do you see those file in the CMS file repo ?

            may be the access restriction to the file : check this...
            and check that you are logged with the proper role when you call these url...

            can't see more...

            or to see more, look at how the code is done (JSP and java) and may be you will see why thing are going the way they are...

            may be a bug somewhere in this process...



            • 3. Re: Uploading to CMS with other language then english?
              jvitor

              Thanks for the tips.

              The files are in the repository, i can see them, with the same access restrictions as the other files i uploaded choosing English.

              But those files associated with any other language than English (my browser default), i can't get them later using an url not even when i'm logged as admin.

              Maybe a bug in the localization support feature? If there's no file in the CMS associated with the browser's default language, CMS can't find any other language version of the file, even when they exist.

              • 4. Re: Uploading to CMS with other language then english?
                theute

                If i remember well, (i'm really not sure) there is a default language to specify to the CMS so that it knows what to fall back to.
                I don't have the time to check right now, but that could be a hint.