Commit Graph
24176 Commits
Author SHA1 Message Date
Jacques Le Roux 0e99a8a4f5 Fixed: Some labels are considered not used by the Label Manager
(OFBIZ-8154)

Removes CommonTerm and CommonTerms as they are unused. 
This also relates with OFBIZ-9346

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794380 13f79535-47bb-0310-9956-ffa450edef68
2017-05-08 14:27:40 +00:00
Jacques Le Roux 3985db4da0 No functional change.
Fixes a typo in the FK names

Thanks: Ron for reporting in dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794378 13f79535-47bb-0310-9956-ffa450edef68
2017-05-08 14:17:51 +00:00
Jacques Le Roux c15fafa454 Documented: Remove unnecessary field types
(OFBIZ-9351)

Removes the reference to id-ne similar field types. They will be removed and
replaced by simple id field types.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794377 13f79535-47bb-0310-9956-ffa450edef68
2017-05-08 14:16:37 +00:00
Jacques Le Roux 5a98e8fb42 No functional change.
Adds a mention about using component-load.xml file in the plugins directory
Small reformatting to better split the note
Make beware (deletes plugins dir) bold

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794130 13f79535-47bb-0310-9956-ffa450edef68
2017-05-06 09:21:55 +00:00
Jacques Le Roux e11e1b6275 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

Completes r1793170 

Removes duplicates data that should rather be in the PartyDemoData.xml
Moves and merges data from DemoPaymentsInvoices.xml to PartyDemoData.xml
Moves and merges data from DemoOrderTestData.xml to PartyDemoData.xml

Note that if later we want to have data located with tests data like those moved 
from DemoOrderTestData might need to be located again in order component. But
anyway then a lot of data would need to be moved. For now we rely on the 
components loading order defined in applications component-load.xml

Tests pass


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794092 13f79535-47bb-0310-9956-ffa450edef68
2017-05-05 18:30:20 +00:00
Jacques Le Roux 039c18d7ae Fixed: Error viewing tomahawk-themed page when externalLoginKey is not enabled
(OFBIZ-9345)

An error occurs when the theme is set to *tomahawk* and 
*security.login.externalLoginKey.enabled=false*

jleroux: using externalKeyParam in viewprofile fixes the issue. 

But we don't need to create externalKeyParam  in AppBarClose.ftl.
It already exists in context

Thanks: James Yong

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794008 13f79535-47bb-0310-9956-ffa450edef68
2017-05-05 10:48:29 +00:00
Jacques Le Roux 98637715bb No functional change, updates "depends-on" documentation regarding plugins
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793840 13f79535-47bb-0310-9956-ffa450edef68
2017-05-04 17:52:35 +00:00
Jacques Le Roux 15b5845572 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

Completes r1792866

This in DemoProduct.xml (accounting) duplicates the same in ProductDemoData.xml
It fit more in ProductDemoData.xml (product) so I remove it from DemoProduct.xml

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793764 13f79535-47bb-0310-9956-ffa450edef68
2017-05-04 10:14:13 +00:00
Taher A. Alkhateeb e8b889a497 Fixed: removed duplicated data for PartyStatus
Ref discussion: https://s.apache.org/T2UD

Thanks: Jacques Le Roux for reporting


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793717 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 21:17:08 +00:00
Jacopo Cappellato 349355ce9e Fixed: corrected a wrong UI label name that was causing an error in the
financial account transactions screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793652 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 14:26:50 +00:00
Taher A. Alkhateeb 7b32c6a2b8 Implemented: remove final remaining dependencies from framework on plugins
(OFBIZ-9322)

This commit completes the removal of final dependency on plugins. After this
commit tests can run successfully on framework stand-alone. This is achieved by
removing portions of failing tests described in more detail in below ML thread

Discussion thread: https://s.apache.org/3fiL


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793633 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 10:44:55 +00:00
Deepak Dixit 75a79e7ee2 Improved: Updated msyql sql-type for datetime field-type to support Fractional Seconds in Time Values (OFBIZ-9337)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793300 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 10:16:52 +00:00
Jacques Le Roux 880383068a Fixes a typo, thanks to Deepak on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793294 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 08:53:31 +00:00
Jacques Le Roux 8108bf3c8c Improved: When searched from FindGeneric page it looses entityName from the url
(OFBIZ-9341)

Steps to generate:
1. Go to webtools (https://localhost:8443/webtools/control/main)
2. Click on "Entity Engine" (https://localhost:8443/webtools/control/entitymaint)
3. Click on any entity to view (https://localhost:8443/webtools/control/FindGeneric?entityName=AccommodationClass)
4. Click on "search" button (https://localhost:8443/webtools/control/FindGeneric)

When the search is hit, it looses the entityName from the url as it used to 
happen in previous releases and according to the pattern on other search pages.

Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793254 13f79535-47bb-0310-9956-ffa450edef68
2017-04-30 09:54:58 +00:00
Taher A. Alkhateeb fb175b9d2e Fixed: Remove all dependencies from OFBiz framework to plugins
(OFBIZ-9322)

Further removed dependencies on demo data defined in ecommerce by modifying
the following data items:
- Move the DemoSupplier demo data from ecommerce to accounting
- Move the PartyIdentificationType of "CARD_ID" from ecommerce to party

This brings down total failing tests to only two


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793170 13f79535-47bb-0310-9956-ffa450edef68
2017-04-29 07:07:29 +00:00
Jacques Le Roux bcca0823ba No functional change, fixes indentation after r1792939
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792959 13f79535-47bb-0310-9956-ffa450edef68
2017-04-27 21:23:31 +00:00
Jacques Le Roux eabcc96c5f Fixed: Create and use an OWASP PolicyFactory for content sanitization in
ContentWorker for Birt Flexible Reports
(OFBIZ-9166)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792939 13f79535-47bb-0310-9956-ffa450edef68
2017-04-27 18:46:36 +00:00
Taher A. Alkhateeb 1d6c5ffad1 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

This is the first commit to removed dependencies on the ecommerce plugin data
by moving the following files to applications:
- DemoStandardCosting to applications/accounting/data/
- DemoOrderPeopleData.xml to applications/order/data/
- DemoOrderTestData.xml to applications/order/data/
- DemoProduct.xml to applications/order/data/
- DemoRentalShipping.xml to applications/order/data/
- DemoShipping.xml to applications/order/data/

Also modified some data on the below files to fix dependency order
- applications/product/data/ProductDemoData.xml
  (move facility data needed for tests from plugins)
- applications/marketing/data/sfaDemoData.xml
  (move data to DemoOrderPeopleData.xml)
- applications/party/testdef/data/PartyTestsData.xml
  (status does not exist)
- applications/workeffort/testdef/data/WorkEffortTestData.xml
  (status does not exist)
- applications/workeffort/minilang/test/WorkEffortTests.xml
  (depends on planHours which is defined in project componnent)

And finally updated the below component files with the moved data
- applications/order/ofbiz-component.xml
- applications/accounting/ofbiz-component.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792866 13f79535-47bb-0310-9956-ffa450edef68
2017-04-27 11:39:04 +00:00
Deepak Dixit a40e9e194c Improved: Removed old data migration services. (OFBIZ-9327)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792788 13f79535-47bb-0310-9956-ffa450edef68
2017-04-26 18:15:26 +00:00
Deepak Dixit afbd2d635f Fixed: Added seca to ensure party role on createQuoteRole invoke (OFBIZ-9331)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792638 13f79535-47bb-0310-9956-ffa450edef68
2017-04-25 18:22:51 +00:00
Jacopo Cappellato 54aec4d949 Fixed: accounting quantity was not updated when a physical inventory variance
was created.
(OFBIZ-9324)

Thanks: Ingo Wolfmayr for the detailed bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792609 13f79535-47bb-0310-9956-ffa450edef68
2017-04-25 12:58:14 +00:00
Deepak Dixit bb9973b3a2 Fixed: Removed testCreateQuoteRole test case, as we converted createQuoteRole service to entity-auto. (OFBIZ-9331)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792275 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 09:25:37 +00:00
Deepak Dixit 65f97c28f3 Improved: From Date and Thru Date doesn't reflect on List Quote Roles screen.Applied slightly different patch from jira issue (OFBIZ-8266)
Thanks Akshay Modak for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792272 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 08:26:39 +00:00
Deepak Dixit 8a63bec92d Fixed: Fixed c/p error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792271 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 08:17:09 +00:00
Deepak Dixit ae634e1896 Improved: Converted create and remove QuoteRole service to entity-auto also added update and expire QuoteRole service.(OFBIZ-9331)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792270 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 07:59:45 +00:00
Deepak Dixit 7829c73623 Improved: Removed Old Commented EditProductPriceRules screen adn EditProductPriceRules_old.groovy file,
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792191 13f79535-47bb-0310-9956-ffa450edef68
2017-04-21 11:59:25 +00:00
Deepak Dixit 8281ef4642 Improved: Removed humanres/entitydef/entitymodel_old.xml, it was left in tree. (OFBIZ-9327)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792183 13f79535-47bb-0310-9956-ffa450edef68
2017-04-21 11:24:17 +00:00
Deepak Dixit 7fb5c14fe3 Improved: Removed deprecated entity related migration service, also removed some more deprecated entities that are located in entitymodel.xml instead entitymodel_old.xm (OFBIZ-9327)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792182 13f79535-47bb-0310-9956-ffa450edef68
2017-04-21 11:21:32 +00:00
Deepak Dixit b15d57c11a Improved: Removed deprecated entities. (OFBIZ-9327)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792176 13f79535-47bb-0310-9956-ffa450edef68
2017-04-21 10:31:59 +00:00
Jacopo Cappellato dc653d269b Improved: upgrade to the latest version of Apache Geronimo Transaction:
from 3.1.1 to 3.1.4


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792028 13f79535-47bb-0310-9956-ffa450edef68
2017-04-20 09:02:50 +00:00
Wei Zhang 7427f9f794 The viewSize should be converted Integer for multiplication
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792020 13f79535-47bb-0310-9956-ffa450edef68
2017-04-20 07:25:58 +00:00
Jacopo Cappellato 727101dfc2 Fixed: removed explicit includes of HtmlTemplate.ftl from FreeMarker templates
since this has been deprecated and it is no more supported.
(OFBIZ-9325)

Improved the nextPrev macro by moving some logic from the template to the macro.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792018 13f79535-47bb-0310-9956-ffa450edef68
2017-04-20 06:38:20 +00:00
Jacques Le Roux 6ed37e208c Improved: Create New Quote button is duplicated on View Quote page
(OFBIZ-9318)

Steps to regenerate:
1. Go to Order component 
 (https://localhost:8443/ordermgr/control/main)
2. Click on Quotes submenu 
 (directing to https://localhost:8443/ordermgr/control/FindQuote)
3. Click on Find button.
4. Click on any quoteId 
 (directing to https://localhost:8443/ordermgr/control/ViewQuote?quoteId=CQ0001)
5. Create New Quote button is duplicated.

Problem:
1. "ViewQuote" request directs to "ViewQuote" screen in QuoteScreens.xml.
2. On ViewQuote screen, it includes "QuoteSubTabBar" from OrderMenus.xml.
3. "QuoteSubTabBar" has a "Create New Quote" button.

But as with OFBIZ-7841, to make it consistent Create New Quote button is added
 to menu bar.

Solution:
Removed the button to avoid redundancy.

Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791804 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 16:14:49 +00:00
Jacques Le Roux a9ce80c8e6 Fixed: temporal expression screen missing date dialogbox
(OFBIZ-7066)

Problem:
go to https://localhost:8443/webtools/control/editTemporalExpression
go to frequency expression section
notice date dialog button is missing

Explanation:
Same Id used by 2 macros

Solution:
Set different Ids in macros and use them in template

jleroux: I set clear different ids based on macros names

Thanks: Wai for report Florian Montalbano for investigation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791791 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 14:46:40 +00:00
Jacopo Cappellato 3475e8b748 Reverted: this reverts the commit 1785581 by Wei Zhang because it represented a
step back since the work done in rev. 1762227.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791763 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 08:43:50 +00:00
Jacques Le Roux 429ed19020 Improved: Proper validation must be there while creating product attributes
(OFBIZ-7452)

Go to Catalog -> product
Select any product and then switch to attributes tab
Find Add Product Attribute form, proper validations must be there.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791752 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 07:30:26 +00:00
Jacques Le Roux 7188a6d2d6 Improved: No quick ship option with back ordered products
(OFBIZ-7220)

When an order contains back ordered products the quick ship option should not
be available


Thanks: Padmavati Rawat for report, Suraj Khurana for solution and patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791751 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 07:21:11 +00:00
Jacques Le Roux da45417d5f No functional change
I spotted that I used stop instead of shutdown in this script (why did we change
 this word? :-o) So I thought that I could get rid of terminateOfbiz in 
trunk-manual.sh. But no, it's really needed. Though locally I can use shutdown 
to stop both instances. Not sure why it fails on the server.

I have no yet tried to use stable-manual.sh to restart stable independently, but 
I guess it works.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791743 13f79535-47bb-0310-9956-ffa450edef68
2017-04-18 05:44:32 +00:00
Jacques Le Roux ac9eced07f Fixed: Routing should not be allow to update with empty routing name
(OFBIZ-7375)

Steps to regenerate -
1) Navigate to manufacturing -> Routing
2) Press New Routing button.
3) Try to create a routing without entering Routing Name. It will not allowed to 
   create the record as routing name is mandatory field.
4) Create routing by adding proper details.

5) Now, select newly create routing from manufacturing -> Routing
6) Try to update selected routing with empty Routing Name.

Actual   : Routing can be update with empty Routing Name.
Expected : Routing should not allow to update with empty Routing Name.

Thanks: Ankit Joshi for analysis and patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791634 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 20:56:52 +00:00
Taher A. Alkhateeb 1573f1de0f Implemented: ignore the entire plugins directory in .gitignore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791515 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 15:47:58 +00:00
Deepak Dixit f18ff2404a Fixed: Console warning related to web-app declaration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791496 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 11:35:03 +00:00
Deepak Dixit caac1033e0 Fixed: Applied slightly modified patch from jira, Employment Applications in Party manager does not list any record even if they exist (OFBIZ-9220)
Thanks Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791490 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 11:15:43 +00:00
Deepak Dixit 76e52a62d8 Fixed: Editing quantity of configurable products changes actual product
(OFBIZ-9225)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791475 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 09:07:44 +00:00
Jacques Le Roux 68c8bcd028 Implemented: Special characters displays in From Date UI label field in forum
screen
Improved:
(OFBIZ-7850)

1. Go to Find Forum group list page 
    https://localhost:8443/content/control/findForumGroups
2. Select one of the Forum from the available forum list.
3. On this Forum Group page, In Add Forum and List Forums section, the UI label 
	From Date Time displayed "From Date & Time", it should be corrected to 
	display From Date Time.

jleroux: patch obsolete, I had to change things by hand

Thanks: Gopal Yadav

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791473 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 08:52:59 +00:00
Jacques Le Roux 085605898b No functional changes
Removes pandoc.bat, confusing! Missed in 1791379


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791467 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 08:13:13 +00:00
Jacques Le Roux 0212d1af40 No functional changes
Removes pandoc.bat, confusing!
Updated README.md and README.md.html


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791379 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14 15:27:55 +00:00
Jacques Le Roux 1439c53fac no functional change, rename prefix from MD to md
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791363 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14 13:24:56 +00:00
Jacques Le Roux 0f6a7a6638 After changing the How+to+migrate+OFBiz+from+Derby+to+MySQL+database page in
wiki following Ingo's suggestion on user ML, adapts also the entityengine
definition to modern mySQL use

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791361 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14 13:02:33 +00:00
Jacques Le Roux a59c0054c8 Fixed: On setting verbose true, UtilHttp.getParameterMap() method prints
username and password in logs
(OFBIZ-9310)

In UtilHttp.getParameterMap(HttpServletRequest request, Set<? extends String>...
method, following line of code prints username and password in logs when verbose
 is set to true.

Debug.logVerbose("Request Parameter Map Entries: " + 
System.getProperty("line.separator") + UtilMisc.printMap(paramMap), module);

Aditya suggested:
Removed the line that prints "Request Parameter Map Entries" as it may print 
username and password entered by user when verbose set to true. 
It may not be a grave concern for staging environment as verbose are not logged 
there but it is still unethical to print such details.

jleroux: I decided to rather comment out the line which might still be useful
in some cases...

Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791346 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14 11:04:04 +00:00
Jacques Le Roux 5ce5947cc3 Fixed: WorkEffort Keywords does not list
(OFBIZ-9315)

1) Go to workEffort component.
2) Create a new task from New Task button 
    https://localhost:8443/workeffort/control/mytasks
3) After creating Task with required fields, click on keywords tab.
4) Add a WorkEffort keyword. 
   https://localhost:8443/workeffort/control/EditWorkEffortKeywords?workEffortId=10000
5) Keyword added should be listed on Find WorkEffort keyword section. 
(Not listing in current scenario)

jleroux: actually you don'-t need to create a task. Simply use the pre-existing
one (task1). When you get to the keywords tab you don't see already
pre-existing keywords. The fix allows to show them


Thanks: Jagpreet Kaur

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791342 13f79535-47bb-0310-9956-ffa450edef68
2017-04-14 10:44:03 +00:00