Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642027 13f79535-47bb-0310-9956-ffa450edef68
* moved the json-lib jar (json-lib-2.2.3-jdk15.jar) from the framework/webapp to the framework/base component
* removed the SQL select Parser.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code
* removed the JSON.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code apart from the JSON Converters (now migrated to json-lib, see next items in this list) some utility methods in UtilIO.java (that have been removed too because they have never been used in OFBiz)
* removed the JavaCC jar and related ant scripts because no more needed after the removal of Parser.jj and JSON.jj
* converted the JSONConverter code that was based on JSON.jj to Jackson
* added a new class org.ofbiz.base.lang.JSON that have been contributed by Adrian Crum that is a facade for simplifying the client code and for hiding the specific JSON library being used
* removed an unused method: ImageManagementServices.toJsonObject(...)
* added TestBooleanConverters to the list of tests
* new unit tests for the new JSON converters
* refactored Ajax code in applications to use the common request json response rather than a custom method
* OFBIZ-5790 Implemented ability to call a service event by passing its input parameters in the request body as JSON data. These classes provide a simple mechanism, based on the request's content type, that can be extended to support other formats (e.g. XML).
This commit resolves OFBIZ-4572, OFBIZ-3365, OFBIZ-5751, OFBIZ-5790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635901 13f79535-47bb-0310-9956-ffa450edef68
Thanks Divesh and Mridul for helping with resuluation.
Thanks Adrian for reporting it.
Thanks Chris Snow for reporting the issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632793 13f79535-47bb-0310-9956-ffa450edef68
===========================================================
The reported issue has been observed in the order manager application. It happens when there's no shopping cart in the session.
Steps to test -
1. Try changing visual theme in the order manager application.
Observations -
1. Returns ERROR MESSAGE - org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://order/widget/ordermgr/OrderEntryOrderScreens.xml#quickFinalizeOrder: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: java.lang.NullPointerException: Cannot invoke method getRelated() on null object (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: java.lang.NullPointerException: Cannot invoke method getRelated() on null object)
Thanks.
===========================================================
Thanks Vyom for reporting the issue and Thanks Pranay for providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632733 13f79535-47bb-0310-9956-ffa450edef68
No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
jleroux: some changes I spotted in Nick Ho's patch which sounded sound to me. Some groups of label internal ending white spaces would have been caught by HTML rendering, but anyway better like that.
I also fixed a number of wrong line returns. And found duplicates zh labels entries that I will report to Nick Ho to fix. And finally fixed some errors introduced by Nick Ho I spotted, I hope there are not too much left :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625893 13f79535-47bb-0310-9956-ffa450edef68
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.
jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625816 13f79535-47bb-0310-9956-ffa450edef68
Still in discussion in dev ML, notably if we should backport
Put back the CommonDepth label inadvertently removed, thanks to Scott's review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
I fixed the duplicated zh:
<value xml:lang="zh">分类页面</value>
<value xml:lang="zh">分類頁面</value>
to
<value xml:lang="zh">分类页面</value>
<value xml:lang="zh_TW">分類頁面</value>
in this patch.
Others are corrections on zh labels thank to Nick Ho's translation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623359 13f79535-47bb-0310-9956-ffa450edef68
What I did (jleroux):
1. I used <value xml:lang="zh_TW">阿富汗尼</value>
2. I used <value xml:lang="zh_TW">內容管理系統站台</value>
3. I did not change
4. I did not change
5. I used <value xml:lang="zh_TW">此</value>, noticed that: <value xml:lang="zh"> </value>
6. I did not change
7. I used <value xml:lang="zh_TW">度量單位</value> (several places)
8. I did not change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622124 13f79535-47bb-0310-9956-ffa450edef68
more added/updated translations patch files for zh-TW locale
jleroux:
I added the label
<value xml:lang="zh_TW">服務執行程式拋出一個異常</value>
by hand
Only 1 label was not added:
<value xml:lang="zh_TW">代號</value>
Because of the fuzziness and presence of several possibilities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621688 13f79535-47bb-0310-9956-ffa450edef68
* the class is now thread safe
* the class is now cleaner (no references to delegator etc...)
* replaced the collision detection algorithm with a simpler/reliable/efficient one based on: update with no changes (to get a lock) + select + update (to increase the last sequence id)
* removed ugly special code for "clusters" that is no more needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621438 13f79535-47bb-0310-9956-ffa450edef68
Note: sendCommEventAsEmail service also update the status of communication event by calling an inline service setCommEventComplete if there is no error in sendMail result. The service updateCommEventAfterEmail is also triggered by an eca on sendEmail which also do the same. They both eventually callthe service updateCommunicationEvent. In this case we should option (1) not call updateCommEventAfterEmail or option (2) make changes to updateCommunicationEvent so that it check for a status valid change before updating the communciation event record or option(3) just make updateCommEventAfterEmail responsible for updating the communication event record by removing the inline code that update the communication event to complete. Option (2) seemsright to me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605286 13f79535-47bb-0310-9956-ffa450edef68
The field email type is missing. Thus it is not possible to categorize and filter emailsettingtemplates data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604370 13f79535-47bb-0310-9956-ffa450edef68
jleroux:
I reused Ankit's patch as a basis for this commit
I added an i18n label
Added a way to use alert() in showErrorAlertLoadUiLabel for generalising when no contentarea is present
Replaced $ call by jQuery
Used the <<name*='fromDate'>> and <<name*='thruDate'>> filters to get all cases (228 thruDate cases)
Still used only an alert, so it's only a warning, nothing coercive
There are other date couples like (estimatedStartDate, estimatedCompletionDate) and (actualStartDate, actualCompletionDate) but their values should not be enforced.
If ever someone wants to not let them free, then she just has to add the couples in FromThruDateCheck.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598977 13f79535-47bb-0310-9956-ffa450edef68
While there is a service to check the existence of a record in UomConversion the equivalent to check the existence of a record in UomConversionDated (mainly used for foreign exchange rates) is lacking.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1595768 13f79535-47bb-0310-9956-ffa450edef68
Now logo image will be display over order pdf. Default value set in fop decorator not working properly, global set to true, Also added check in company header groovy, if logoImageUrl found in groovy then only set to context else default will be used.
Also set the logo width in company header fo.ftl as if logo image is large then it will throw warning related to content overflow on console.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1589669 13f79535-47bb-0310-9956-ffa450edef68
This patch corrects three Thailand provinces added from the previous patch which unnecessarily had the word "PROVINCE" appended end of their names which looks messy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583696 13f79535-47bb-0310-9956-ffa450edef68
This patch includes the CountryAddressFormat records for my Malaysia (OFBIZ-5606), Thailand, and Israel (OFBIZ-5609) geo issues.
Without this patch, the state/provinces do not appear in the dependent drop down form when adding party contact info.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583689 13f79535-47bb-0310-9956-ffa450edef68
While importing Israeli customer data from a legacy system I determined that OFBiz does not include Israel geo data OOTB which should be added.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583674 13f79535-47bb-0310-9956-ffa450edef68