I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
Followed best practice.
Changed location="org/ofbiz/......... to location="component://party/script/org/ofbiz......
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755658 13f79535-47bb-0310-9956-ffa450edef68
1) Contact us (request contactsubmit)
2) Send email (request sendmessage)
Should not affect other createCommunicationEvent or createCommunicationEventRole calls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@699636 13f79535-47bb-0310-9956-ffa450edef68
1) Converted all of these events to services "createUpdatePerson, createUpdateEmailAddress, createUpdateTelecomNumber, createUpdateUserLogin,
createUpdateShippingAddress, createUpdateBillingAddress, createUpdateCreditCard"
2) Added Demo data for telecom number for DemoCustomer so that this party can do checkout on One page checkout.
3) Modified behaviour of billing and shipping telecom number field on new customer page with respect to check box "Billing is the same as the shipping address" and
corresponding changes to createCustomerProfile event. Now billing and shipping phone numbers are handled separtely from billing and shipping addresses resp.
4) Misc. changes to profile Java Script and one page template.
Thanks to Rishi Solanki, Santosh Malviya, Brajesh Patel and Sumit Pandit (for review) for this contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692448 13f79535-47bb-0310-9956-ffa450edef68
1) Display client side error message for email in EditProfile.ftl from uilabel.
2) Remove unused code from ViewProfile.ftl.
3) Formated PartyContactMechServices.xml file.
4) Proper comment for service definition updatePostalAddressAndPurposes and updateContactMechAndPurposes.
Thanks to Sumit Pandit, Brajesh Patel and Rishi Solanki for this contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690150 13f79535-47bb-0310-9956-ffa450edef68
To use these screens comment existing newcustomer and viewprofile screen and uncomment the new ones which has same names.
Entity Change: A new field is added to check default billing address in PartyProfileDefaults.
As this new stuff becomes matured and community accept this as default then we can remove older stuff.
Thanks to Sumit Pandit, Rishi Solanki, Brajesh Patel and Santosh Malviya for there valuable contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688081 13f79535-47bb-0310-9956-ffa450edef68
Logged in party is not able to update its own status (disable his profile)
Thanks Mridul for your patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628079 13f79535-47bb-0310-9956-ffa450edef68
Since in this particular case creation is allowed for him/herself, see implementation.
I don't know if there is a better way (generalised) to deal with such cases so for now I simply revert. Please advice if a better solution exists, thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611257 13f79535-47bb-0310-9956-ffa450edef68
Some important notes about this commit:
1. This commit changes some of the Party Manager permission checking behavior. The previous extended permission checks (PARTYMGR_CME, PARTYMGR_GRP, PARTYMGR_PCM, PARTYMGR_QAL, PARTYMGR_REL, PARTYMGR_ROLE, PARTYMGR_STS, PARTYMGR_SRC) only checked those permissions, and not the base (PARTYMGR) permission. This commit checks both sets of permissions - PARTYMGR and PARTYMGR_xxx. Example: to create a party relationship the following permissions would be checked - PARTYMGR_CREATE, PARTYMGR_ADMIN, PARTYMGR_REL_CREATE, PARTYMGR_REL_ADMIN.
This change was discussed on the dev ml - http://mail-archives.apache.org/mod_mbox/ofbiz-dev/200710.mbox/%3c47150A51.6080908@hlmksw.com%3e
2. There are a number of security holes in the Party Manager services - some services have no permission checking. I didn't attempt to fix those issues in this commit because I believe they should be discussed on the mailing list first.
3. This commit adds a new error message property (PartyPermissionErrorPartyId) to the PartyUiLabels.properties file. In the international copies of that file I copied an existing error message to the new property - international users should update their versions by replacing "this operation" with "${resourceDescription}".
4. Some of the Party Manager services have not been converted to the new permission checking service - communication events for example. I ran out of time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589144 13f79535-47bb-0310-9956-ffa450edef68