Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12177

nuxeo-signature-1.1.1 localization problem

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7.2-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: Digital Signature
    • Tags:
    • Backlog priority:
      200

      Description

      Using latest public 572 (nuxeo-cap-5.7.2-I20130730_1006-tomcat)
      From AdminCenter/Update, I installed the Digital-Signature plugin, which name is nuxeo-signature-1.1.1
      After restart, all works as expected (ca sign document) but the labels, which are not localized (see screenshots), so for example, the tilte of the tab (in "Home") is "label.cert.user.center.certificate".
      Same issue in 571.
      Works ok in 56, correct localized labels displayed.

        Attachments

          Activity

          Hide
          targuillere Thibaud Arguillere added a comment -

          Forgot to talk about the log. It says (extracting the interesting part. Attaching the whole log - fresh one, first start of the server):

           
          2013-08-01 14:26:47,422 ERROR [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] java.io.IOException: Could not create /Applications/nuxeo-cap-5.7.2-I20130730_1006-tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages_en.properties
          java.io.IOException: Could not create /Applications/nuxeo-cap-5.7.2-I20130730_1006-tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages_en.properties
          	at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:72)
          	at org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl.exec(CommandProcessorImpl.java:49)
          	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:275)
          	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:242)
          	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.main(DeploymentPreprocessor.java:561)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:601)
          	at org.nuxeo.runtime.tomcat.NuxeoDeployer.handleEvent(NuxeoDeployer.java:107)
          	at org.nuxeo.runtime.tomcat.NuxeoDeployer.lifecycleEvent(NuxeoDeployer.java:55)
          	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
          	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
          	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
          	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
          	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
          	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
          	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          	at java.lang.Thread.run(Thread.java:722)
          Caused by: java.io.IOException: No such file or directory
          	at java.io.UnixFileSystem.createFileExclusively(Native Method)
          	at java.io.File.createNewFile(File.java:947)
          	at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:70)
          	... 21 more
          
          Show
          targuillere Thibaud Arguillere added a comment - Forgot to talk about the log. It says (extracting the interesting part. Attaching the whole log - fresh one, first start of the server): 2013-08-01 14:26:47,422 ERROR [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] java.io.IOException: Could not create /Applications/nuxeo-cap-5.7.2-I20130730_1006-tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages_en.properties java.io.IOException: Could not create /Applications/nuxeo-cap-5.7.2-I20130730_1006-tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages_en.properties at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:72) at org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl.exec(CommandProcessorImpl.java:49) at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:275) at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:242) at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.main(DeploymentPreprocessor.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.nuxeo.runtime.tomcat.NuxeoDeployer.handleEvent(NuxeoDeployer.java:107) at org.nuxeo.runtime.tomcat.NuxeoDeployer.lifecycleEvent(NuxeoDeployer.java:55) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:947) at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:70) ... 21 more
          Hide
          vpasquier Vladimir Pasquier added a comment -

          I can't reproduce:

          • mp-install the marketplace package signature 1.2-SNAPSHOT
          • Start Nuxeo server and update preference localization (EN and FR)
          • Labels are correctly translated, didn't see any similar logs

          Don't hesitate to re-open if you can reproduce and we'll sync.

          Show
          vpasquier Vladimir Pasquier added a comment - I can't reproduce: mp-install the marketplace package signature 1.2-SNAPSHOT Start Nuxeo server and update preference localization (EN and FR) Labels are correctly translated, didn't see any similar logs Don't hesitate to re-open if you can reproduce and we'll sync.
          Hide
          targuillere Thibaud Arguillere added a comment -

          Oups, sorry, my wrong. Yes, it's fixed since we have a regular MP package. And as a workaround, Julien gave me the appropriate missing files. The problem occured with previous version and previous build which was missing I-don't-remember-what

          Thibaud

          Show
          targuillere Thibaud Arguillere added a comment - Oups, sorry, my wrong. Yes, it's fixed since we have a regular MP package. And as a workaround, Julien gave me the appropriate missing files. The problem occured with previous version and previous build which was missing I-don't-remember-what Thibaud

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: