Sever went down showing formatting Issue

Hi All,

Our server is going down frequently. When I checked the logs, the only issu, I am seeing is below:

ERROR com.appiancorp.asi.taglib.TaglibUtil - An EL expression couldn't be evaluated. The expr is "${PORTAL_APP_CONFIG.copyright}" and the attribute name is "value". An error occurred while evaluating custom action attribute "value" with value "${PORTAL_APP_CONFIG.copyright}": An error occurred while getting property "copyright" from an instance of class com.appiancorp.ap2.PortalApplicationConfiguration (java.util.MissingFormatArgumentException: Format specifier '%4$s')
javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "value" with value "${PORTAL_APP_CONFIG.copyright}": An error occurred while getting property "copyright" from an instance of class com.appiancorp.ap2.PortalApplicationConfiguration (java.util.MissingFormatArgumentException: F...

OriginalPostID-234732

  Discussion posts and replies are publicly visible

Parents
  • Hi Rishub,

    I can see that you have set the %4$s which does not exist at appian.

    You need to set property in following correct way for custom.properties file.

    resources.appian.ap.application.appian.ap.copyright=\\u00A9%2$s %3$s

    Where

    \\u00A9 is copyright symbol

    %2$s is the copyright year

    and %3$s is company name.

    The %2$s will be referred to this property:
    resources.appian.ap.application.appian.ap.copyrightYear=2016

    The %3s$ Property referred to this:
    resources.appian.ap.application.appian.ap.appianName=Your Company Name

    Which needs to be setup first in custom.properties.
Reply
  • Hi Rishub,

    I can see that you have set the %4$s which does not exist at appian.

    You need to set property in following correct way for custom.properties file.

    resources.appian.ap.application.appian.ap.copyright=\\u00A9%2$s %3$s

    Where

    \\u00A9 is copyright symbol

    %2$s is the copyright year

    and %3$s is company name.

    The %2$s will be referred to this property:
    resources.appian.ap.application.appian.ap.copyrightYear=2016

    The %3s$ Property referred to this:
    resources.appian.ap.application.appian.ap.appianName=Your Company Name

    Which needs to be setup first in custom.properties.
Children
No Data