Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84605

Override language key on com.liferay.image.uploader.web-1.0.13

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.4 CE GA5
    • Fix Version/s: None
    • Component/s: Collaboration
    • Labels:
    • Fix Priority:
      3

      Description

      Hi,

      I can't override the language key upload-images-no-larger-than-x (following this guide: https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/resource-bundle-override).

      The jar com.liferay.image.uploader.web-1.0.13 haven't the Web-ContextPath attribute in bnd file and I can't get the servet context name.

      I have tried, without success, the following implementations:

      @Component(
      immediate = true,
      property = {
      "bundle.symbolic.name=com.liferay.image.uploader.web",
      "resource.bundle.base.name=content.Language",
      "servlet.context.name=image-upload-web"
      }
      )
      

      and

      @Component(
      immediate = true,
      property = {
      "bundle.symbolic.name=com.liferay.image.uploader.web",
      "resource.bundle.base.name=content.Language",
      "servlet.context.name=image-uploader-web"
      }
      )

       

      This is the complete headers of com.liferay.image.uploader.web-1.0.13:

      Liferay Image Uploader Web (82)
      -------------------------------
      Manifest-Version = 1.0
      Bnd-LastModified = 1495737005382
      Bundle-ManifestVersion = 2
      Bundle-Name = Liferay Image Uploader Web
      Bundle-SymbolicName = com.liferay.image.uploader.web
      Bundle-Vendor = Liferay, Inc.
      Bundle-Version = 1.0.13
      Created-By = 1.8.0_92 (Oracle Corporation)
      Import-Package = com.liferay.announcements.kernel.model;version="[1.0,2)",com.liferay.asset.kernel.model;version="[1.1,2)",com.liferay.document.library.kernel.antivirus;version="[1.0,2)",com.liferay.document.library.kernel.exception;version="[1.0,2)",com.liferay.expando.kernel.model;version="[1.0,2)",com.liferay.exportimport.kernel.lar;version="[1.1,2)",com.liferay.exportimport.kernel.model;version="[1.0,2)",com.liferay.portal.kernel.annotation;version="[6.3,7)",com.liferay.portal.kernel.application.type;version="[1.0,2)",com.liferay.portal.kernel.atom;version="[7.0,8)",com.liferay.portal.kernel.bean;version="[7.0,8)",com.liferay.portal.kernel.cache.thread.local;version="[1.0,2)",com.liferay.portal.kernel.cluster;version="[7.0,8)",com.liferay.portal.kernel.dao.orm;version="[7.0,8)",com.liferay.portal.kernel.exception;version="[7.0,8)",com.liferay.portal.kernel.flash;version="[6.2,7)",com.liferay.portal.kernel.image;version="[7.0,8)",com.liferay.portal.kernel.io.unsync;version="[6.2,7)",com.liferay.portal.kernel.json;version="[7.0,8)",com.liferay.portal.kernel.jsonwebservice;version="[7.0,8)",com.liferay.portal.kernel.language;version="[7.1,8)",com.liferay.portal.kernel.lock;version="[7.0,8)",com.liferay.portal.kernel.log;version="[7.0,8)",com.liferay.portal.kernel.model;version="[1.0,2)",com.liferay.portal.kernel.model.impl;version="[1.0,2)",com.liferay.portal.kernel.notifications;version="[7.1,8)",com.liferay.portal.kernel.plugin;version="[6.3,7)",com.liferay.portal.kernel.poller;version="[7.0,8)",com.liferay.portal.kernel.pop;version="[6.2,7)",com.liferay.portal.kernel.portlet;version="[7.2,8)",com.liferay.portal.kernel.portlet.bridges.mvc;version="[1.2,2)",com.liferay.portal.kernel.repository.capabilities;version="[1.0,2)",com.liferay.portal.kernel.repository.model;version="[7.0,8)",com.liferay.portal.kernel.scheduler;version="[7.0,8)",com.liferay.portal.kernel.search;version="[7.2,8)",com.liferay.portal.kernel.security.access.control;version="[1.0,2)",com.liferay.portal.kernel.security.auth;version="[1.0,2)",com.liferay.portal.kernel.security.permission;version="[1.1,2)",com.liferay.portal.kernel.service;version="[1.3,2)",com.liferay.portal.kernel.service.configuration;version="[1.0,2)",com.liferay.portal.kernel.service.permission;version="[1.0,2)",com.liferay.portal.kernel.service.persistence;version="[1.1,2)",com.liferay.portal.kernel.servlet;version="[7.1,8)",com.liferay.portal.kernel.spring.aop;version="[6.3,7)",com.liferay.portal.kernel.systemevent;version="[6.2,7)",com.liferay.portal.kernel.template;version="[7.1,8)",com.liferay.portal.kernel.theme;version="[1.0,2)",com.liferay.portal.kernel.transaction;version="[7.0,8)",com.liferay.portal.kernel.trash;version="[7.0,8)",com.liferay.portal.kernel.upgrade;version="[7.1,8)",com.liferay.portal.kernel.upload;version="[6.3,7)",com.liferay.portal.kernel.util;version="[7.3,8)",com.liferay.portal.kernel.webdav;version="[7.0,8)",com.liferay.portal.kernel.workflow;version="[7.0,8)",com.liferay.portal.kernel.xml;version="[7.0,8)",com.liferay.portal.kernel.xmlrpc;version="[6.2,7)",com.liferay.portal.model.impl,com.liferay.portal.service,com.liferay.portal.spring.aop;version="[1.0,2)",com.liferay.portal.upgrade.registry;version="[1.0,2)",com.liferay.portal.util;version="[1.0,2)",com.liferay.social.kernel.model;version="[1.0,2)",com.liferay.trash.kernel.model;version="[1.0,2)",javax.portlet;version="[2.0,3)",javax.servlet;version="[3.0,4)",javax.servlet.http;version="[3.0,4)",org.aopalliance.intercept
      Javac-Debug = on
      Javac-Deprecation = off
      Javac-Encoding = UTF-8
      Liferay-Releng-App-Description = The Liferay Collaboration suite provides applications and features that help users share ideas, implement them, and produce terrific results. Its apps such as Message Boards and Blogs help users start discussions, ask questions, share ideas, and connect with other users. Wiki allows users to share in-depth information. And Alerts and Announcements facilitate broadcasting information and notifications.<br /><br />As users collaborate, they're sure to produce important files. The suite's Documents and Media Library allows users to store files, share them, and publish them. It not only works with Liferay's built-in repository but also allows you to integrate with external repositories, such CMIS repositories. Users can add and share all kinds of files, including documents, presentations, images, and videos. And the suite's Documents and Media app and Media Gallery help users display files the way they like them.<br /><br />As users engage in site activities, you'll want to recognize them and connect them with other users. The suite's social networking apps and features enable you to attribute social equity to active users automatically by increasing their rank on the site. You can even highlight user activities to show your site's liveliness. The Mentions feature facilitates notifying specific users in the context of site content, discussions, and comments. The social apps also help users share their thoughts on the your sites and other social sites, such as Facebook and Twitter. Combined with the suite's collaboration and document management features, the Collaboration suite’s social features help develop awesome communities, foster high morale, and make work interesting.<br /><br />Apps and Features: Activities, Alerts, Announcements, Blogs, Bookmarks, Comments, Friends/My Sites/Portal/Site Members Directory, Documents and Media, Friend Requests, Image Uploader, Invite Members, Media Gallery, Message Boards, Mentions, Microblogs, Page Flags/Comments/Ratings, Quick Note, Requests, Social Activity, User/Group Statistics, Wiki.<br /><br />This suite may contain modules that depend on Foundation suite modules. This suite is available in the Liferay CE bundle.
      Liferay-Releng-App-Title = Liferay CE Collaboration
      Liferay-Releng-Bundle = true
      Liferay-Releng-Category = Communication
      Liferay-Releng-Deprecated = false
      Liferay-Releng-Labs = false
      Liferay-Releng-Marketplace = true
      Liferay-Releng-Portal-Required = true
      Liferay-Releng-Public = true
      Liferay-Releng-Restart-Required = true
      Liferay-Releng-Support-Url = http://www.liferay.com
      Liferay-Releng-Supported = false
      Private-Package = com.liferay.image.uploader.web.internal.constants,com.liferay.image.uploader.web.internal.portlet,com.liferay.image.uploader.web.internal.portlet.action,com.liferay.image.uploader.web.internal.upgrade,com.liferay.image.uploader.web.internal.upgrade.v1_0_0,com.liferay.image.uploader.web.internal.util,content
      Provide-Capability = osgi.service;objectClass:List<String>="com.liferay.portal.kernel.portlet.bridges.mvc.MVCActionCommand",osgi.service;objectClass:List<String>="com.liferay.portal.kernel.portlet.bridges.mvc.MVCRenderCommand",osgi.service;objectClass:List<String>="com.liferay.portal.kernel.portlet.bridges.mvc.MVCResourceCommand",osgi.service;objectClass:List<String>="com.liferay.portal.upgrade.registry.UpgradeStepRegistrator",osgi.service;objectClass:List<String>="javax.portlet.Portlet",liferay.resource.bundle;bundle.symbolic.name="com.liferay.image.uploader.web";resource.bundle.base.name="content.Language"
      Require-Capability = osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://java.sun.com/portlet_2_0))",osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://liferay.com/tld/aui))",osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://liferay.com/tld/frontend))",osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://liferay.com/tld/portlet))",osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://liferay.com/tld/theme))",osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://liferay.com/tld/ui))",osgi.extender;filter:="(&(osgi.extender=osgi.component)(version>=1.3.0)(!(version>=2.0.0)))",osgi.service;filter:="(objectClass=com.liferay.portal.kernel.model.Release)";effective:=active,osgi.service;filter:="(objectClass=com.liferay.portal.kernel.util.Portal)";effective:=active,osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"
      Service-Component = OSGI-INF/com.liferay.image.uploader.web.internal.portlet.ImageUploaderPortlet.xml,OSGI-INF/com.liferay.image.uploader.web.internal.portlet.action.UploadImageMVCActionCommand.xml,OSGI-INF/com.liferay.image.uploader.web.internal.portlet.action.UploadImageMVCRenderCommand.xml,OSGI-INF/com.liferay.image.uploader.web.internal.portlet.action.UploadImageMVCResourceCommand.xml,OSGI-INF/com.liferay.image.uploader.web.internal.upgrade.ImageUploaderWebUpgrade.xml
      Tool = Bnd-3.2.0.201605172007
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                1 year, 9 weeks, 6 days ago

                Packages

                Version Package