Removes unused methods (not in Java code, FTL templates and Groovy scripts) in GenericValue and EntityUtil classes + misc related comments or logs
Adds log warning to spot possible use cases in templates and scripts of getRelated() and getRelatedOne() methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1704769 13f79535-47bb-0310-9956-ffa450edef68
jleroux: actually it does a bit more than moving. It also adds
<member-entity entity-alias="PTYRELTP" entity-name="PartyRelationshipType"/>
and
<alias entity-alias="PTYRELTP" name="relParentTypeId" field="parentTypeId"/>
+
<view-link entity-alias="PTYREL" rel-entity-alias="PTYRELTP" rel-optional="true">
<key-map field-name="partyRelationshipTypeId"/>
</view-link>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1702168 13f79535-47bb-0310-9956-ffa450edef68
When viewing the sprint overview page errors are shown related to burndown chart and the sprint backlog list
Regarding the burndown chart:
The following items have errors:
Chart (id = 113):
+ A BIRT exception occurred. See next exception for more information.
Invalid javascript expression: row["sprintDay"] (Element ID:113)
Regarding the sprint backlog list
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
(Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
)
jleroux: I did not see the sprint backlog list error. I put back the removed license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1701936 13f79535-47bb-0310-9956-ffa450edef68
I suggest using application/json instead of application/x-json as it is official content type. It seems x-json does not cause any problem for the time being but browsers will load json responses correctly without asking for download. It's handy in development time. It also matches JQuery Accept header.
jleroux: I also used it in Solr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1701915 13f79535-47bb-0310-9956-ffa450edef68
1. Use response.sendRedirect to forward url to login page instead of the response.setHeader("location", url), this avoids the warning messages from EntityUtilProperties. Besides, when testing in similar config as demo-ofbiz-trunk is (port 80 -> 8080, port 443 -> 8443), this change can keep the url to 80 or 443.
2. Replace tabs to spaces in several java files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1700739 13f79535-47bb-0310-9956-ffa450edef68
Currently the various hard coded links at the bottom of the admin screen open in the same window. These should open in a new window to provide a better UX.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1700555 13f79535-47bb-0310-9956-ffa450edef68
1. Put the patch into trunk.
2. Added access control to solr /admin/ pages.
3. Upgraded solr to 4.9.0 to match Lucene version in trunk.
4. Removed solr.solr.home, used
SolrResourceLoader loader = new SolrResourceLoader("specialpurpose/solr/conf");
instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1700119 13f79535-47bb-0310-9956-ffa450edef68
1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath.
2. Add services_qrcode.xml and QRCodeService.java in framework/common/.
3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/.
4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/.
5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1696921 13f79535-47bb-0310-9956-ffa450edef68
This reverts svn:eol-style=native on Java files which were forced by r1044202n, 89 Java files are concerned. This commit hopefully makes things more consistent.
It's indeed hard to see the impact of this change before it's committed. I'll check once done, I already found 116 Java files w/o svn:eol-style=native but there are 1231 Java files at all, so not sure how most are set...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1695126 13f79535-47bb-0310-9956-ffa450edef68
1. I changed passport enditymodel.xml to remove the 3 warnings on ThirdPartyLogin during OFBiz start.
2. Remove classpath of lib/* from ofbiz-component.xml as the path doesn't exist in the component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1689990 13f79535-47bb-0310-9956-ffa450edef68
With these elements, example component have a new FindExample search screen to select the display list type with a example of :
* include-form : list examples with their features
* include-screen : list examples with their items
* include-grid : list examples with their status history
The element include-menu is present on FindUtilCache screen. Also a new CommonInlineBarMenu menu type to display menu with specific purpose (in-line) is now present and with this logic adding in-line-bar css class on themes thomawak and flatgrey.
This patch is combinate Issues :
* OFBIZ-6502 Add support for form/grid embedding within grids
* OFBIZ-6501 Add support for screen embedding inside grids
* OFBIZ-6404 Allow form/grid widget hyperlinks to be grouped into a single column
sub-tasks of master issue OFBIZ-6314 Widget Refactoring - Placeholder issue
Thanks to Christian and Adrian for their time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1686116 13f79535-47bb-0310-9956-ffa450edef68
jleroux: rather than removing I rather commented out the lines related to the ViewSprintItem lines in case the original author decides to use it. I will remove in a week
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1684129 13f79535-47bb-0310-9956-ffa450edef68