Commit Graph
24 Commits
Author SHA1 Message Date
Suraj Khurana 757551a8fd Improved: All the service level error messages for missing required field for catalog component.
(OFBIZ-7739)
Thanks Ratnesh Upadhyay for reporting, reviewing the updated patch and Sega for initial patch.
2020-04-25 17:52:53 +05:30
Arun Patidar 948731c898 Implemented: Added CRUD services for OrderContentType, RateType, SequenceValueItem, ProdCatalogInvFacility, StatusValidChange, SubscriptionActivity, SubscriptionAttribute, SubscriptionType, SubscriptionTypeAttr, SupplierRatingType, TaxAuthorityAssocType, TaxAuthorityRateType, TermType, TermTypeAttr, Uom, Addendum entities.
(OFBIZ-8289) (OFBIZ-8307)(OFBIZ-8440)(OFBIZ-8728)(OFBIZ-8775)(OFBIZ-8776)(OFBIZ-8777)(OFBIZ-8778)(OFBIZ-8779)(OFBIZ-8780)(OFBIZ-8781)(OFBIZ-8782)(OFBIZ-8783)(OFBIZ-8784)(OFBIZ-8787)(OFBIZ-8964)

Thanks: Rahul Singh, Chinmay Patidar, Amit Gadaley and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768184 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 10:56:52 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Jacques Le Roux 16d8d2a132 A patch from Nicolas Malin for "Convert CostComponent and Subscription entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5742
I converted CRUD service to entity-auto for :
  CostComponent
  Subscription (only update)
  SubscriptionResource
  SubscriptionCommEvent

I ran manual test create/update/delete from product and subscription screen with success and ./ant clean-all load-demo run-tests without error


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621699 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 08:16:43 +00:00
Jacques Le Roux b844d4e9bb A (slightly modified) patch from Yvan Cauchy for "Trigger for service to run upon subscription expiry" https://issues.apache.org/jira/browse/OFBIZ-5333
We are also proposing to add the following fields:

    ProductSubscriptionResource.gracePeriodOnExpiry
    ProductSubscriptionResource.gracePeriodOnExpiryUomId
    Subscription.gracePeriodOnExpiry
    Subscription.gracePeriodOnExpiryUomId

This will allow the runServiceOnSubscriptionExpiry to trigger the service in SubscriptionResource.serviceNameOnExpiry only after

nowTimeStamp >= Subscription.thruDate + Subscription.gracePeriodOnExpiry.

This provides flexibility in managing the triggering of the deprovisioning service, similar to the flexibility in automatic subscription extensions enabled by Subscription.canclAutmExtTime for runSubscriptionAutoReorders. 

jleroux: 
I replaced tabs by spaces
Will commit the change in serviceResult.ftl apart
Slightly reformatted SubscriptionServices.runServiceOnSubscriptionExpiry()
Slightly reformatted and added comment in services_subscription.xml for the 2 new services


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597235 13f79535-47bb-0310-9956-ffa450edef68
2014-05-24 04:37:16 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
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
2009-04-17 06:33:43 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \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
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Ashish Vijaywargiya 482a84b1a5 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755831 13f79535-47bb-0310-9956-ffa450edef68 2009-03-19 04:27:30 +00:00
Adrian Crum c51a080c8c Product Subscription UI layout fixes and conversion to permission services.
Note: The original code checked for CATALOG_READ permission - which doesn't exist. I changed that to CATALOG_VIEW, but it still checks for CATALOG_READ also.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676600 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 14:20:03 +00:00
Hans Bakker 74ff3e83ac created a automatic subscription extension, improved the (product) subscription screens, and added 3 fields in the subscription and subscription resource to enable this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661283 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 10:31:14 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski 5076cbd082 included patch from Joe Eckard JIRA issue OFBIZ-952; also changed content wrapper to use virtual data if no variant data existed (thought this was already implemented)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534188 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:35:31 +00:00
Alfred Maxwell Byers ac8ea4b89f Modified subscription generating services to set the orderItemSeqId field in the Subscription entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508722 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 07:54:44 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Hans Bakker eb89a5e686 replace the field communicationId from the entity Subscription with a new entity 'SubscriptionCommEvent' to enable a 1:n relationship between subscription and comminicationEvent. Also added menus and services to support it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472774 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 05:10:56 +00:00
Hans Bakker ca4f510f39 add subscription attributes to services and screens/forms
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469337 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 01:56:21 +00:00
Jacopo Cappellato 0f3d92aafc Conversion from MIT to ASL2.0 for all the files of the product component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:11:40 +00:00
David E. Jones ca8de0e45d Fixed some stuff in the Product->Subscription Resource forms; had passed these over in the last round of testing
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419440 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 05:22:07 +00:00
David E. Jones 7c214b8082 Added subscription processing services, which are now enabled by default with an ECA; includes a demo product for a Gizmo Newsletter; also some cleanups of and improvements to the subscription admin UI
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419428 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 03:42:45 +00:00
David E. Jones a4ad44f33f Initial pass for subscription and related screens; still some cleanup needed though some basics are working; checking in progress before pausing for a few hours
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419166 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 05:31:23 +00:00
David E. Jones 93a97bc0e0 Finished moving subscription stuff over to product (err msg property, service location, etc); also added SubscriptionResource create/update service
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418907 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 03:34:15 +00:00
David E. Jones 96d6832b95 Moved content.subscription stuff to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; note that also resolved the issue with the old updateSubscription service name, which is not very descriptive: changed to updateContentSubscription so that the updateSubscription name can be used where it should be: for the Subscription entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418893 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 01:32:06 +00:00