Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00
Jacques Le Roux 559d6a7ee8 Fixed: In 'updateOrderContactMech' service, A check should be added to call
'removeOrderContactMech'.
(OFBIZ-9967)

In case, user don't create orderContactMech while creating an order and wish to 
create orderContactMech after the creation then, 'updateOrderContactMech' 
throws error of 'oldContactMechId' parameter missing in 'removeOrderContactMech'
 service.

Adds a 'if-not-empty' check for 'oldContactMechId' field i.e, if 
'oldContactMechId' is available then only 'removeOrderContactMech' service 
should be called in 'updateOrderContactMech' service.

Thanks: Sonal Patwari

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816795 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 04:49:34 +00:00
Nicolas Malin 526d09eb47 Improved: Migrate BudgetServiceTest from minilang to groovy
With the issue "Convert BudgetServices.xml mini lang to groovy" (OFBIZ-9985)
and issue "Implement Groovy test in testtools" (OFBIZ-9996)
I converted the related test AutoAcctgBudgetTests from minilang to groovy.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816645 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 19:18:51 +00:00
Jacques Le Roux 57bdcb3db3 Improved: Remove unused service checkContentAssocIds and its usage
(OFBIZ-9999)

All cases were not handled if contentAssocTypeId is also passed while creating 
a content.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816637 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 15:38:57 +00:00
Jacques Le Roux cfeeb7b88d Fixed: Improvements in gift certificate process
(OFBIZ-10027)

Sending mail should be async as it should not affect the regular workflow.

createGiftCertificate service doesn't create FinAccount with proper data. 
Like currency, name, ownerPartyId etc is not handled properly.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816635 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 15:35:13 +00:00
Nicolas Malin 904c3d1fd9 Improved: Convert BudgetServices.xml mini lang to groovy (OFBIZ-9985)
Just migrate BudgetServices.xml to groovy file version related to OFBIZ-9350 Deprecate Mini Lang
Thanks to Leila Mekika for resolve this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816482 13f79535-47bb-0310-9956-ffa450edef68
2017-11-27 18:04:08 +00:00
Jacques Le Roux 49ba2356d6 Implemented: Add ability to store latitude and longitude as well while creating
postal address
(OFBIZ-9980)

While creating a postal address for any party or facility, we can enable service 
to store its latitude and longitude if available and create a geo point for the 
same. 

Later screens using this feature will be created with OFBIZ-10022

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816481 13f79535-47bb-0310-9956-ffa450edef68
2017-11-27 17:55:54 +00:00
Jacques Le Roux e97c1401f9 No functional changes
Typo: removes a ' in EditContentAssoc screen
Removes a redundant entity-one in EditContentAssoc form. This was present before
Apache era: https://s.apache.org/0GBT


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816381 13f79535-47bb-0310-9956-ffa450edef68
2017-11-26 13:19:18 +00:00
Jacques Le Roux a1aeed0175 Fixed: No option to create the account contacts in SFA component
(OFBIZ-10010)

Steps to regenerate:
1) Open URL https://demo-trunk.ofbiz.apache.org/sfa/control/FindAccounts
2) Select an account from the list or create a new account.
3) In the account profile page, click on "Create New" in the "List Related Contacts" section.
Actual: No option to create the account contacts.
Expected: There should be an option to create account's contact.

Creates new request-map and screen definition to redirect 'Create New' link 
on proper screen. So that user can add contacts to the Account.

Thanks: Rubia Elza Joshep for report and Pradeep Choudhary for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816373 13f79535-47bb-0310-9956-ffa450edef68
2017-11-26 09:22:59 +00:00
Jacques Le Roux 66e82b1d75 Fixed: UI Issue with Account Limit at Find Billing Account(s)
(OFBIZ-9899)

Steps:
1. Open https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount
2. Navigate to Find Billing account
3. Check for Search Results
Actual: At Account Limit section, symbol is been displayed
Expected: Currency Symbols should be displayed

Actual issue in the code is, Billing Account rendering logic is using browser's 
locale(Due to Null BillingAccount object passed) to render currency symbol but 
the code should use BillingAcccount.accountCurrencyUomId that get's set by User 
on BillingAccount creation.
Fixed the logic to use accountCurrencyUomId as currency to render currency symbol.

Thanks: Aayush jain for report, Ankush Upadhyay for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816369 13f79535-47bb-0310-9956-ffa450edef68
2017-11-26 08:12:04 +00:00
Jacques Le Roux e97d270fbb Fixed: Incorrect success message after creating prospect
(OFBIZ-9896)

Navigate to https://demo-trunk.ofbiz.apache.org/partymgr/control/NewProspect
after creating the prospect, success message is 
'ProductStoreRole is created successfully'.

jlrroux: I simply removed the uppercase for Prospect in French :)
I let others check their languages

Thanks: Sonal Patwari and Lalit Dashora 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816297 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 14:40:59 +00:00
Jacques Le Roux c000543cce Improved: Use ofbizCurrency macro and remove hardcoded ##0.00 string
(OFBIZ-9675)

ofbizAmount macro can be used.

jleroux: while applying the patch I noticed the use of ?default(0) where the 
newer and simpler !0 could be used. Rather than only replacing this case here
I'll create a Jira and replace all such cases generalising to any value (that's
a lot: 1394 case!)

Thanks: Renuka Srishti and Ritesh Kumar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816291 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 12:50:25 +00:00
Akash Jain 7b5670541a Fixed: Inventory transfer creates unnecessary record with 0, applied patch from jira issue (OFBIZ-9971)
Thanks, Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816289 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 12:20:31 +00:00
Akash Jain 86f861401c Fixed: Create Related Account from Contact Profile redirect to empty profile screen, applied patch from jira issue (OFBIZ-9697)
Thanks, Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816273 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 09:20:21 +00:00
Deepak Dixit 48fa7f5435 Improved: Updated imagemanagement plugin path from images to common/js/plugins (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816272 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 09:01:52 +00:00
Akash Jain f48f17b96b Improved: Remove unused service checkContentAssocIds and its usage, applied patch from jira issue (OFBIZ-9999)
Thanks, Suraj Khurana for reporting the issue and Sonal Patwari for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816266 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 08:21:21 +00:00
Akash Jain 1a4ff5f16b Fixed: Deleting workeffort from Find WorkEffort page gives unusual response, applied patch from jira issue (OFBIZ-9648)
Thanks, Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816264 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 07:58:43 +00:00
Deepak Dixit 61ac4b74b4 Improved: Rearrange permission-service tab in updateShoppingList service definition, found xml validation warning on console.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816262 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 06:17:16 +00:00
Akash Jain 1d27a1fb0e Fixed: Issue in redirection while creating a new party group, applied patch from jira issue (OFBIZ-9914)
Also fixed same issue for Create Employee functionality.

Thanks: Chandrashekhar Dhakad for reporting the issue and Yogesh Naroliya for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816259 13f79535-47bb-0310-9956-ffa450edef68
2017-11-25 04:25:36 +00:00
Jacques Le Roux 17d7246e06 Improved: Replace request-redirect w/ no redirect-param attribute by
request-redirect-no-param
(OFBIZ-9997)

There was a typo in r1816180 , this fixes it and adds plugins part



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816183 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 18:42:23 +00:00
Jacques Le Roux dfc7fb084a Improved: Replace request-redirect w/ no redirect-param attribute by
request-redirect-no-param
(OFBIZ-9997)

This follows the discussion at http://markmail.org/message/sbfdlhntdzziqeyz



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816180 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 18:21:51 +00:00
Jacques Le Roux 32a5949a1d Improved: refactor list related forms in PartyScreen widgets
(OFBIZ-9405)

For an unknown reason yet grid can't be used for ListPartyIdentification form

Thanks: Swapnil M Mane for spotting the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815504 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 19:48:33 +00:00
Jacques Le Roux df46e8f12a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

I missed that siteId could be null due to the try/catch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815342 13f79535-47bb-0310-9956-ffa450edef68
2017-11-15 17:20:52 +00:00
Jacques Le Roux 8876aabde5 Improved: Refactoring methods of PartyServices.java
(OFBIZ-9982)

The methods names and services were ambiguous, this renames them to clearly
show they return a list of parties and not a party

Thanks: Suraj and Michael for discussion at 
http://markmail.org/message/ii7w4vgwusaqxjla

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815300 13f79535-47bb-0310-9956-ffa450edef68
2017-11-15 10:19:21 +00:00
Jacques Le Roux 8b69ba0f73 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

No functional change, missed a compilation issue, 

Thanks: Builbot :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815195 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 10:06:46 +00:00
Jacques Le Roux 8aec1fca42 Implemented: Refactor list related form widgets in various WorkEffort screens
(OFBIZ-9415)

Refactoring various list forms into grids
Refactoring various list form references in screens

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815194 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:55:31 +00:00
Jacques Le Roux e438e3f864 Improved: refactor list related forms in PartyScreen widgets
(OFBIZ-9405)

Refactoring various list forms into grids
Refactoring various list form references in screens

jleroux: slightly adapted because of r1799252

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815193 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:44:57 +00:00
Jacques Le Roux c5a9b7347e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

No functional change.

I prefer to use URLEncoder.encode(reqParam, "UTF-8") rather than ESAPI HTML 
encoder for 3 reasons:
*  URLEncoder.encode() is sufficient to answer to HTTP response splitting using 
  	Percent-encoding (aka  URL encoding)
*  Consistent and simpler code using basic Java
*  Using "UTF-8" is (more than) recommended, see 
	https://docs.oracle.com/javase/8/docs/api/java/net/URLEncoder.html
	
I will check what using ESAPI HTML encoder entails. As JavaDOc says "Not doing 
so  may introduce incompatibilities." We have 30+ cases, they are maybe OK, but
we need to check...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815192 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:33:19 +00:00
Deepak Dixit da9d776edb Fixed: Content related changes needs OFBiz server restart (OFBIZ-9922)
DataResourceWorker call the FreeMarkerWorker.renderTemplateFromString if dataTemplateTypeId is FTL, 
and pass the dataResource.lastUpdatedStamp to update the ftl cache.
But if you use ftl file as objectInfo so dataResource.lastUpdatedStamp will not change if you update the ftl file

Thanks Suraj Khurana for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815059 13f79535-47bb-0310-9956-ffa450edef68
2017-11-13 06:26:53 +00:00
Jacques Le Roux 3fdb72d892 Fixed: Duplicated dollar symbols should be removed from uiLabels.
(OFBIZ-9968)

For example: In 'ProductPromoUiLabels.xml' file 
'ProductPromoCondition.PPIP_PRODUCT_TOTAL', 
'ProductPromoCondition.PPIP_PRODUCT_AMOUNT' etc. 
uilabels contain duplicated dollar symbols 

Thanks: Sonal Patwari

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814934 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 10:15:23 +00:00
Deepak Dixit b90e4cfa53 Fixed: Party Id field missing while creating contact list party in the marketing component (OFBIZ-9698)
Thanks Rubia Elza Joshep for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814928 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 08:47:12 +00:00
Jacques Le Roux 667d3951e5 No functional change, just a comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814902 13f79535-47bb-0310-9956-ffa450edef68
2017-11-10 18:52:36 +00:00
Jacques Le Roux 4b317565af Fixed: ShippingEvents.getShipGroupEstimate() method gives untraceable null
pointer exception for BigDecimal comparison
(OFBIZ-9975)

The compareTo() method of BigDecimal is not null safe. 
When totalAllowance value is null it throws null pointer exception which may be 
difficult to trace sometimes.
Valid null pointer checks should be there before using compareTo() if the 
variable may have a null value in any of the case.

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814873 13f79535-47bb-0310-9956-ffa450edef68
2017-11-10 15:34:27 +00:00
Jacques Le Roux c9f8410fc7 Fixed: [FB] Find Security Bugs
(OFBIZ-9973)

I missed to encode the request parameter prior to use the canonical pathname

Nevertheless Findbugs continues to complains about missing canonical pathname

I tried 
String safePath = (new File(imageServerPath + "/" + productId + "/" + imageName))
                  .getCanonicalPath();
BufferedImage bufImg1 = ImageIO.read(FileUtil.getFile(safePath));
instead of
BufferedImage bufImg1 = ImageIO.read(new File(imageServerPath + "/" + productId 
                        + "/" + imageName).getCanonicalFile());

Same Findbugs report, I consider it's a false positive and keep the later


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814709 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 08:54:46 +00:00
Jacques Le Roux 9067514c96 No functional change, completes r1814642, just a bit better log error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814644 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 20:58:54 +00:00
Jacques Le Roux a0e661da14 Fixed: [FB] Find Security Bugs
(OFBIZ-9973)

FindBugs embeds an option to Find Security Bugs. Here are fixes for 2 cases FB
reported. They both relate to a request parameter that could be corrupted. They
are respectively fixed using URLEncoder.encode() and File.getCanonicalFile()

There are other formatting and minor no functional changes.

Remains not fixed issues related with possible SQL injections that I'll possibly
look at later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814642 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 20:54:09 +00:00
Jacques Le Roux 01a2eb476a Fixed: Inventory Report PDF lists all available statusId's irrespective of
selection criteria
(OFBIZ-7438)

1. Go to Facility -> Inventory 
2. Select a status and perform find
3. Click on Print pdf button

Expected: PDF should show selected statusId
Actual: All available statusId's in the system get listed in the Pdf.

Thanks: Arvind Singh Tomar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814591 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 15:42:16 +00:00
Jacques Le Roux 9c1ea473d2 Improved: Company Logo is missing at Print Pick Sheet PDF
(OFBIZ-7322)

Steps to regenerate:
1) Go to Facility component. Select a facility and submit (Facility for which 
   some orders are available in ready to pick status).
2) Now go to picking screen.
3) From the list of ready to pick orders try to print Pick sheet by clicking on 
   "Print Pick Sheet" button.
4) See the logo is missing in pdf.

Thanks: Pawan Verma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814569 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 11:11:30 +00:00
Jacques Le Roux 3894a59045 Fixed: NullPointer Access in CategoryContentWrapper.getProductCategoryContentAsText
when locale parameter is missing
(OFBIZ-9970)

The said method is not nullpointer-safe; it is possible, that the method crashes
 and produces a nullpointer-exception at this point:
String sessionLocale = locale.toString();

Thanks: Dennis Balkir

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814501 13f79535-47bb-0310-9956-ffa450edef68
2017-11-07 13:58:58 +00:00
Jacques Le Roux a09fc01405 Reverted: Secure the login.secret_key_string
(OFBIZ-9966)

Before having a discussion about the security of this, reverts on 
Michael's request on dev ML 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814392 13f79535-47bb-0310-9956-ffa450edef68
2017-11-06 10:51:57 +00:00
Jacques Le Roux 9d31ccb222 Documented: Secure the login.secret_key_string
(OFBIZ-9966)

No functional change, this completes the previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814362 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 17:27:01 +00:00
Jacques Le Roux 8289e03096 Fixed: Secure the login.secret_key_string
(OFBIZ-9966)

When OFBIZ-4983 was implemented I missed that we put the login.secret_key_string
 as a property in security properties. This should not have been because it 
eases attackers work.

The recommended way is to have it as a private static final String that can be 
changed just when compiling using sed and uuidgen. So then the key is temporay 
and final and it gets quite harder for a possible attacker to use this mean.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814349 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 11:28:42 +00:00
James Yong 256fd74497 Fixed: Empty Space above Find Payment header
OFBIZ-9965

This fix will check paymentId is non-empty before including the PaymentSubTabBar menu.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814340 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 07:35:53 +00:00
Jacques Le Roux ab855f7774 Fixed: Sales by Store report calculates Value Sold incorrectly
(OFBIZ-9958)

Sales by Store report calculate Value Sold without taking into account order 
item quantity. 

jleroux: I also noticed that given products (free ones, due to^promotion) are 
counted as paid products, another thing to fix

Thanks: Oleg Andreyev

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814277 13f79535-47bb-0310-9956-ffa450edef68
2017-11-04 11:36:25 +00:00
Jacques Le Roux f78a98f616 No functional change, removes trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814117 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 22:10:23 +00:00
Jacques Le Roux a0e85e028a Fixed: Error on first access to Online Help
(OFBIZ-9925)

There are maybe better fixes but adding a default theme when it's null works

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814116 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 21:58:37 +00:00
Jacques Le Roux 3b1354db19 Fixed: The online help is broken
(OFBIZ-9837)

Completes r1814063

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814090 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 15:07:48 +00:00
Jacques Le Roux 778a0616cf Fixed: The online help is broken
(OFBIZ-9837)

When you get to cmssite/cms/APACHE_OFBIZ_HTML in trunk HEAD you get this error:
ERROR in error page, (infinite loop or error page not found with name 
[/error/error.jsp])

It because the related code does not use the Common Theme. And also because
the Css styles missed in themes/common/widget/Theme.xml 

While fixing that I also fixed few points of the Common Theme documentation 
in the main README.md file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814063 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 11:18:33 +00:00
Deepak Dixit d261ed11ec Fixed: Added check in checkoutValidation method, as it should validate only for Sales order, as shipping method, and payment mehtod not set in purchase order (OFBIZ-9755)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813961 13f79535-47bb-0310-9956-ffa450edef68
2017-11-01 10:37:51 +00:00
Jacques Le Roux 5d4f865cd2 Fixed: ofbizsetup cannot create first customer. problem with state/province
dropdown
(OFBIZ-6054)

Load only seed and seed-initial
Go to url. https://localhost:8443/ofbizsetup/control/firstcustomer

When entering the postal address, the state/province dropdown is empty and 
remains empty regardless of selection of the country dropdown.

Thanks: Wai for report and Oleg Andreyev for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813833 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 22:06:33 +00:00