Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
10 subscribers
Views
2154 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Sever went down showing formatting Issue
rishub
over 7 years ago
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
0
rishub
over 7 years ago
...ormat specifier '%4$s')
Can anyone guide why we are getting this issue & how can we resolve it?
Thanks
Rishu
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub
over 7 years ago
This is the value that I had set in my custom.properties file for copyright:
resources.appian.ap.application.appian.ap.copyright=%1$s (v%2$s) \\u00A9%4$s
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Manish Saini
over 7 years ago
Hi Rishub,
Can you tell me which appian version you are using ?
Thanks!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub
over 7 years ago
Hey Manish, I am using Appian 7.11
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Manish Saini
over 7 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub
over 7 years ago
Thanks Manish for Info but when I looked into properties I could see that we had used "## %1$s - the Application name", "## %2$s - the version number", "## %3$s - the copyright year" & "## %4$s - the company name". So in 7.11, we don't mention the version number?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Manish Saini
over 7 years ago
Hi Rishub,
in version 7.11 there are only three properties available as mentioned in comments. You can use version and company name in single property as (v 7.11 Company name). The property will be
resources.appian.ap.application.appian.ap.appianName=Version 7.11 Your Company Name
Please try removing %4$s and use %3$s only. and define version name and company name together in %3$s only.
Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel