This screen did not take into account the widget.form.defaultViewSize properties, here is the needed change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487130 13f79535-47bb-0310-9956-ffa450edef68
After the order gets cancelled, there is a loop in OrderView.groovy@122 that removes promotional order line items retrieved from the OrderReadHelper class when cancelled. This is what makes the ConcurrentModificationException to be thrown.
For further details, check out the following thread at the dev mailing list: http://ofbiz.markmail.org/message/vmm65cmbf5hkmqm6?page=2
jleroux: I simply put a comment and removed the useless temporary orderItemListFiltered variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1485432 13f79535-47bb-0310-9956-ffa450edef68
If a person is set as a related contact for a party, updates to their name are not immediately displayed by the ListRelatedContacts form.
To reproduce (with OFBiz demo data):
* In the Party Manager, go to the profile page of DemoSupplier (they have a related contact called 'Peter Manager'
* Follow the link to Peter Manager's profile page.
* Click Update and change the name (e.g. to 'Peter Manageress')
* Save
* Return to DemoSupplier's profile page. Observe that the name of the related contact is still 'Peter Manager'. Refreshing doesn't change that.
* Restart OFBiz
* Refreshing the profile page now displays the updated name.
jleroux: to test in trunk I used company and scrum employee
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481274 13f79535-47bb-0310-9956-ffa450edef68
=========================
And secondly I think that in ListCommEvents form of CommunicationEventForms.xml partyId should be passed in place of the partyIdFrom. As in ViewCommunicationEvent screen, value of the partyIdFrom is set via parameters.partyId.
=========================
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1478499 13f79535-47bb-0310-9956-ffa450edef68
Reference requirement for the feature: http://markmail.org/message/sihxekwk6655t5gh#query:+page:1+mid:bcw2vva2hjxhsodq+state:results
For a user account in system, we can set password age for an additional security.
Proposed system will start suggesting to user to reset his password few days before password expiration. Then Once password expired, system will enforce him to reset his password before processing further.
Following will be control points and would be part of system configuration-
* *Control Points -*
** Admin can enable/disable the reset password functionality.
*** -It will control by a flag in propriety file where admin can enable/disable it by setting true/false.
** Number of days in which password will expired.
*** - It will defined in propriety file so that admin can control it.
** Number of days before when password expiration alert display at user's screen.
*** - It will defined in propriety file so that admin can control it.
* *How should it processed -*
** After user logged-in, display password expiration notification message to user if his password will expire in comming days.
** After user logged-in, display change password screen, when password is expired. i.e. The difference in days since last time password updated is exceed to number of days specified in system policies. Enforce user to reset his password.
* *What will be the out-put -*
** Password is about to expire : : alert message after login.
** Password is expired : Password-Expired-Alert : alert message with reset password screen.
Following is implementation plan -
security.properties : Provide configuration for following control points :
Enabling / Disabling of the functionality.
Maximum number of days within user has to change the password.
Number of days back to password expire date, when user start getting password expiration alerts.
Data model
Entity name : UserLoginPasswordHistory : Existing entity.
Business logic
Create UserLoginPasswordHistory record when a new user is created (if configured).
Expire and then Create UserLoginPasswordHistory record when user update existing password.
Everytime, when user login check for password expiration. If password expired then display change password screen to user. And if password not yet expired but it is close to expire display alert message to user about its expiration.
jleroux: I just changed
from
if (reqToChangePwdInDays != 0) {
tp
if (reqToChangePwdInDays > 0) {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465185 13f79535-47bb-0310-9956-ffa450edef68
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId. After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
In getProductWeight method of applications/product/src/org/ofbiz/product/product/ProductWorker.java, the desiredUomId is not applied when calling convertUom service. I replaced "WT_lb" with desiredUomId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1452382 13f79535-47bb-0310-9956-ffa450edef68
request.getSession().getServletContext()).getContextPath()
anyway
request.getContextPath()
is enough
see bottom of oracle.com/javaee/6/api/javax/servlet/ServletContext.html#method_detail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449290 13f79535-47bb-0310-9956-ffa450edef68
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.
jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447664 13f79535-47bb-0310-9956-ffa450edef68
The createDataResourceRole service has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a DataResourceRole value.
The ensurePartyRole service also has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a PartyRole value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446876 13f79535-47bb-0310-9956-ffa450edef68
On marketing component when you will send a mail to a contactList, the screen is easy and effective but not really user-frendly. This screen is available on marketing/control/createContactListCommEvent
I improved :
* force text/html by default on drop-down
* set position 2 for content type
* use advanced editor for content
* labelise the communicationMethodType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446875 13f79535-47bb-0310-9956-ffa450edef68