Commit Graph
68 Commits
Author SHA1 Message Date
Jacques Le Roux 4677004c50 Fixed: Create an Accounting Transaction page not found
(OFBIZ-9228)

Go through
Asset Maint --> Fixed Assets - >>> find DEMO_VEHICLE_01 --> Depreciation 
and then press on button Create an Accounting Transaction: 00.000
will give ERROR not found

jleroux: the partyDecoratorLocation was missing in webapp/assetmaint/WEB-INF/web.xml

Thanks: Moatasim Al Masri for report, Ismail Alkouz for a try (not my solution)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1784144 13f79535-47bb-0310-9956-ffa450edef68
2017-02-23 14:41:21 +00:00
Jacopo Cappellato 96b22285f4 Implemented: removed the "controller" related logic, that is now provided by the
new ControlFilter, from the ContextFilter; modified existing applications to use 
the two filters in a chain; removed from the other specialized filters all the 
logic that was duplicated or extended from ContextFilter.

A web application, in order to leverage the OFBiz framework, requires that a 
series of objects are in its contexts (servlet context, session and request) 
such as "delegator", "delegatorName", "dispatcher", "security" etc. etc...
This setup is performed by the logic contained in the servlet filter implemented 
by the ContextFilter class.
The execution of this logic is required for the application to run properly.
However, before this commit, in the ContextFilter there was other logic, related 
to access control and redirection rules (some of them performed in coordination 
with the ControlServlet), making it difficult to deploy this filter in all the 
web applications, especially the ones that implement special handling of paths.
In fact, this filter was deployed in most but not all the web application in the 
OFBiz codebase: specifically it was not deployed in web applications that 
require the execution of other filters (e.g. CatalogUrlFilter, etc...) like the 
ones in the "ecommerce" and "solr" components.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761304 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 08:08:30 +00:00
Pranay Pandey e44ba95d72 [OFBIZ-7311] - Applied the patch from the ticket. Removing the unused references of the maincss.css from source code, following is done-
1) Removed 'maincss.css' entry from 'allowedPaths' param of from web.xml
Reason: Since, there is no file like 'maincss.css' exist under any includes directory. 
2) Removed the unused references of maincss.css from FTLs, code
<link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/> 
has been removed.
Reason: This is an interesting thing, these FTLs were using the maincss.css located under the images directory.
When I look the history of these files, following were my findings,
The 'maincss.css' file under the 'images' directory exist in release4.0 
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0/framework/images/webapp/images/
after this release, this files no longer exist there.
3) Also, I have updated one file 'InventoryNoticeEmail.ftl' and used the basic HTML code to style, instead of using style defined in 'maincss.css' which were exist in release-4.0
4) Updated some references from 'maincss.css' to style.css in comments.
5) Also removed the entry of including '/images/maincss.css' and '/images/mainrtl.css' in SimpleDecorator
Since, these files no longer exist after release-4.0.

Thanks Wai for reviewing the work and thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758389 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 13:37:27 +00:00
Deepak Dixit 8f3141cd46 (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/specialpurpose@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux 4deae05a38 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux a98ac13d9d Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux b20816bfa8 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 6d3ffbb282 (OFBIZ-7232) Relocate .groovy files in the specialpurpose/assetmaint component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747777 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:01:56 +00:00
Jacques Le Roux 41221303fe A patch from Pierre Smits for <<relocate .ftl files in the assetmaint component>> https://issues.apache.org/jira/browse/OFBIZ-6825
jleroux: template moved by hand


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1738776 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 11:42:08 +00:00
Jacques Le Roux 0a982250e6 Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Deepak Dixit e91538404a OFBIZ-(6655) Add session tracking mode and make cookie secure for all special purpose component. Also updated the web-app version for web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1724940 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:30:08 +00:00
Arun Patidar da04c7ce72 [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Ashish Vijaywargiya 1432b8f43f Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya c5bbc062b3 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux c8e766489c Puts a better comment in templates/web.xml
Remove useless and confusing websiteId in web.xml files

I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />

Sorry but http://demo.ofbiz.org/ leads nowhere!

And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />

I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526686 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 21:07:10 +00:00
Adam Heath 8334813120 DEPRECATION: specialpurpose/assetmaint: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:29 +00:00
Hans Bakker 288019cf38 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux e263a69b74 A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Vikas Mayur 7803aeb0cd Added missing svn properties to files under assetmaint component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@915274 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 10:45:08 +00:00
Ashish Vijaywargiya 0453d7a513 Applied patch from jira issue - OFBIZ-3380 - Convert simple events in FixedAssetMaintEvents.xml to services.
Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@893756 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 13:21:59 +00:00
Hans Bakker 36665315f9 tested asset maint component for new calendar porlet and found unused controller entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@791109 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:07:26 +00:00
Jacques Le Roux bb27d79880 In Controller.xml
path="org/ofbiz/(\w*)/(.*)" (.*) => path="component://$1/script/org/ofbiz/$1/$2" $3
path="org/ofbiz/(\w*)/(.*)" => path="component://$1/script/org/ofbiz/$1/$2"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@765798 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:07:52 +00:00
Jacques Le Roux 97bb3073c9 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/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bruno Busco cde214ae99 Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Marco Risaliti 18be3df7c5 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:53:32 +00:00
Marco Risaliti 4feaec188c A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746341 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 19:11:06 +00:00
Bruno Busco 55a2ae8011 Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Bruno Busco ef04191599 Replaced appheader.ftl with a standard AppBar menu widget in Assetmaint application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@735543 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 20:59:50 +00:00
Anil Patel 32542d823a First version of application for tracking IS assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@720118 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 06:07:28 +00:00
Adrian Crum 364cfe88b1 Reverted part of my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@701151 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 15:20:28 +00:00
Adrian Crum 983e2cb242 Fixed problem with Asset Maintenance screens, reported by ChristopherJ on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@701143 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 15:06:54 +00:00
Adrian Crum 617f3fd21e Added missing error.jsp file to the Asset Maint component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@700805 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 15:04:11 +00:00
Marco Risaliti a98d91d5da Convert a bsh script to groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@697423 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 21:26:16 +00:00
Scott Gray bc1d45481c Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Adrian Crum 11a62e0386 Updated the Asset Maintenance component to use the new Facility screen. I also removed the restriction that displayed only Warehouse facility types.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@680018 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 17:24:53 +00:00
Adrian Crum 0928db6bf2 Some fixups in Asset Maintenance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@679258 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:01:17 +00:00
Adrian Crum fe8e14d0c9 Some Asset Maint fixups based on the previous commit. Now the Asset Maint calendar works better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677758 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 22:08:26 +00:00
Adrian Crum 6c19ba6e5e More Asset Maint work - eliminated redundant controller.xml entries, fixed a Fixed Asset screen reuse issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677639 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:09:29 +00:00
Adrian Crum 83a3adb124 More work in the Asset Maintenance component:
1. Eliminated UI label redefinitions.
2. Fixed a bug I introduced in a previous commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677012 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:20:15 +00:00
Adrian Crum d9cafae3fe Asset Maintenance improvements:
1. Demo Data.
2. Product Maintenance screen.
3. Fixed non-functional product lookup buttons

Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@673532 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 22:37:58 +00:00
Adrian Crum f37090caac Asset Maintenance functional change. Maintenance tasks were assigned to the currently logged-in user and there was no way to assign them to other parties. This commit adds that capability, plus it adds asset maintenance specific party roles. The Edit Task screen is much improved.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@666189 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 16:41:04 +00:00
Adrian Crum f66f41fe14 More UI work in the Asset Maintenance component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@664377 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 20:03:44 +00:00
Adrian Crum 7b02894551 More UI work on Asset Maintenance. Better re-use of existing screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@663785 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 23:36:48 +00:00
Adrian Crum 1ef66fe30b More work on the Asset Maintenance component. I added a task list screen and made it the main (initial) screen. It seems to me a maintenance worker would want to see his/her tasks first.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@662931 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 00:10:24 +00:00
Adrian Crum d76555190b Oops, I accidentally disabled the Find Maintenances screen in my last Asset Maint commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@662866 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 19:52:29 +00:00
Adrian Crum 8c3037fd60 Changes to Asset Maint component to re-use existing screens better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@662307 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 02:05:07 +00:00
David E. Jones 56eae1f8cf More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Adrian Crum dc56726184 Updated the Asset Maint component to reuse existing screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@658473 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:43:21 +00:00
Adrian Crum f678c2acc8 Updated Asset Maintenance report to use new FOP decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@602519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:28:35 +00:00