Jacopo Cappellato
8746f94728
Added label/style to mark the 'group name' field required for party groups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589271 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 05:51:18 +00:00
Scott Gray
0a3a044b9a
Don't try to complete the marketing package production run if there aren't enough components available, it just result in an error and confuses order processing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589248 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 23:57:35 +00:00
Jacques Le Roux
04579e0d72
I forgot to commit these changes when commiting rev. 582338. The text was :
...
This solve the "Quote WorkEffort bug" issue reported by Bilgin Ibryam (https://issues.apache.org/jira/browse/OFBIZ-1180 ) - OFBIZ-1180.
It does not solve the issue reported in comment https://issues.apache.org/jira/browse/OFBIZ-1180#action_12524674 "Adding WorkEffort to Communications in party manager is also broken due to extending EditWorkEffort." because then we get java.lang.IllegalArgumentException: Could not find screen with name [EditCommEventWorkEffort] in class resource [component://party/widget/partymgr/CommunicationScreens.xml]. But this is another problem :
I will back port this in release as it does fix a bug (it's possible to add now a workeffort in a quote but was not before)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589200 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 20:04:55 +00:00
Adrian Crum
cfb0bb8b4c
Moved Party Manager embedded permission checking to new permission checking service.
...
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
2007-10-27 16:16:25 +00:00
Jacques Le Roux
ecb48d58b5
A patch from Adrian Crum "CommonPermissionServices doesn't display service name in permission error message" ( https://issues.apache.org/jira/browse/OFBIZ-1371 ) - OFBIZ-1371
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589134 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 15:24:35 +00:00
Jacques Le Roux
7d6ab522ac
Simple formatting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589112 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 14:22:39 +00:00
Jacques Le Roux
675cb04884
A patch from Skip Dever "Entering a noteId in the AddPartyNote screen causes a foreign key error" ( https://issues.apache.org/jira/browse/OFBIZ-1357 ) - OFBIZ-1357
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589084 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 12:12:49 +00:00
Jacques Le Roux
a874946ebb
A patch from Skip Dever "Property file addition to inhibit shipping estimate rate checks globally or for selected carriers" ( https://issues.apache.org/jira/browse/OFBIZ-1362 ) - OFBIZ-1362
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589081 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 11:51:05 +00:00
Scott Gray
8d9578132a
Reverted part of a commit (rev. 523281) from 6 months ago, was causing problems when trying to quick complete marketing package production runs.
...
Jacopo, if you get a chance could you look this over to see if its the way to go?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589049 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 04:55:55 +00:00
Si Chen
a4e1b62b9c
a few more fields for AcctgTransAndEntries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589041 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 02:19:09 +00:00
Scott Gray
e0b6591129
Pass in the parameters needed for the log message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588895 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 01:28:51 +00:00
Si Chen
fd0ae66c67
Fix potential null exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588864 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 01:19:34 +00:00
Scott Gray
dfc2111500
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588795 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 23:20:27 +00:00
Scott Gray
7f02763dfb
Removed unnecessary question mark
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588787 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 22:50:35 +00:00
Scott Gray
3b7b1f330a
Moved a label from ecommerce to order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588786 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 22:46:29 +00:00
Scott Gray
6b6d7e6c78
Fixed problem with creating RecurrenceRules, reported by William Perng OFBIZ-1368
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588783 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 21:49:05 +00:00
Scott Gray
db809ac188
Small typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588779 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 21:19:46 +00:00
Adrian Crum
5a1a277111
Small fix for Webtools Available Services screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588763 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:04:39 +00:00
Si Chen
9ea8478dab
Added group by glFiscalTypeId to AcctgTransEntryProdSums because without it, subtle bugs may crop up.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588716 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 17:16:02 +00:00
Scott Gray
db80c947f3
Use the expected java types for the entity to avoid annoying warnings in the logs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 09:07:28 +00:00
Adrian Crum
085e65e5b8
Eliminated redundant code by switching components over to the common login and password change screens. I didn't change the hand held component - since it will probably need its own login screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 02:29:49 +00:00
Adam Heath
1f1173aab3
Improve the generics markup in the collectionToSet method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588307 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 18:32:54 +00:00
David E. Jones
4347e4d0dc
A handy little method to facilitate some GenericDelegator new/enhanced methods that are now using Set instead of Collection as they should be
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588206 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 12:04:23 +00:00
David E. Jones
2c522da026
Added indicator field to specify whether or not to split payment preference to one per ship group
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588182 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:51:22 +00:00
David E. Jones
15aa19b1d8
Added a shipGroupSeqId field to the OrderPaymentPreference to make it possible to tie them to a ship group on the order; this is like the orderItemSeqId field that has been around for a while to tie it to an item, and also fills the gap to be able to associate an order item and ship group combination to a payment preference; also added an orderPaymentPreferenceId to the OrderStatus entity so that this entity can also be used for payment preference status changes; related logic/UI changes will be coming along soon
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588181 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:48:53 +00:00
Scott Gray
624355387d
Fixed reversed method signature caused by rev. 585819
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588171 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:05:50 +00:00
Jacopo Cappellato
ed9b40cdaa
Migrated Store Payment Settings screen to widgets.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587883 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 12:53:51 +00:00
Jacopo Cappellato
69e557362e
Added logic to automatically run the store's promotions that are not set as manualOnly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587496 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:17:45 +00:00
David E. Jones
9eadaacb56
Added a couple of ProductContentTypes for product related policy info
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587494 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:05:09 +00:00
Jacopo Cappellato
e5b671bc7e
Added new field (manualOnly = Y/N) to ProductStorePromoAppl entity to specify if the promotion will be used only when manually applied by the user.
...
Implemented ui to manage the new field; in the process, completely refactored the product store promo screen: ftl/bsh-->widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587459 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 11:20:24 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Adrian Crum
6756832fda
RTL layout fixups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587280 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 23:09:43 +00:00
David E. Jones
843b157d7b
Added new ProductContentTypes to allow for a different add to cart label or image per product; seed data only change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587234 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:22:25 +00:00
Andrew Zeneski
bd8837b40f
changed party content in ecommerce to use the new party content type features
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587128 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 15:21:39 +00:00
Andrew Zeneski
279af36272
refactored party content to follow the same pattern as the other XxxContent patterns; this includes PK changes to the datamodel, a PartyContentType entity and other minor adjustments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587127 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 15:17:52 +00:00
Andrew Zeneski
1a9a856053
small change to allow ofbiz to compile again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587109 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 14:23:48 +00:00
Andrew Zeneski
e513361155
clean output no longer deletes the directory; instead now it cleans it out (since it is under version control)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587096 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:51:25 +00:00
Andrew Zeneski
6138f49756
updated properties on directory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587094 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:48:57 +00:00
Andrew Zeneski
fa912ac490
updated properties on directory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587093 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:47:51 +00:00
Jacopo Cappellato
832ceb7be5
Fixed bug reported by Bilgin Ibryam in the dev list: however the code here would really need to be further cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587073 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:41:37 +00:00
Adam Heath
6b3382e72e
Collection size can not be negative.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586966 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 23:02:11 +00:00
Adam Heath
759fc3cd6c
Undo revision 586470; I missed a spot in checkAuth that changed
...
the context, after a call to makeValid.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586938 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 19:13:06 +00:00
Adam Heath
c77ec31ac6
Fix stupid problems with javac and type inference.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586925 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:19:34 +00:00
Adam Heath
9aed331614
Remove 2-arg vararg variants; beanshell doesn't handle overridden
...
methods correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586924 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:18:11 +00:00
Andrew Zeneski
6981950040
updated build files to clean output directory and test-results; removed depends="" (empty depends)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586923 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:56:04 +00:00
Timothy Ruppert
bff0c40e77
Fixed put to HashMap issue
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586914 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 16:19:45 +00:00
David E. Jones
2d04f5193c
Added some seed data for vendor shipping info PartyContent for vendor parties, and roles and relationship types for spouse/child
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586883 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 10:51:00 +00:00
Anil Patel
ee27acadb7
Minor NOE fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586859 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 07:28:03 +00:00
Adam Heath
af0d38ddbc
Turn on unchecked warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586857 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:09:55 +00:00
Adam Heath
f1a750a4ce
The last of the java 1.5 markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586856 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:08:17 +00:00