Jacques Le Roux
f2cc4c2d52
Fix for "ServiceUtil.getUserLogin tests on null but not empty" ( https://issues.apache.org/jira/browse/OFBIZ-2838 ) - OFBIZ-2838
...
Thank you Al for report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810370 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 06:22:23 +00:00
Hans Bakker
fe0c90452e
correction in testing for empty...could cause a NPE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810019 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 13:12:46 +00:00
Scott Gray
0fb74891c6
Missed switching a result set back to TYPE_SCROLL_INSENSITIVE, reported by Mridul
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:16:51 +00:00
Scott Gray
166671a08b
Changed the reloadCrashedJobs method to look for crashed jobs by statusId rather than null finish and cancel dates
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809530 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 10:24:58 +00:00
Scott Gray
49fe2b05ce
Switched back to using scroll insensitive cursors, fixes problem reported by Jacques and Jacopo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809425 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:15:01 +00:00
Scott Gray
9df4db06bd
Fix problem reported by Jacques, the ResultSet API doesn't allow FORWARD_ONLY result sets to call the first() method even
...
if the current position is beforeFirst or first, worked around it by having the EntityListIterator handle the
situation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809324 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 12:36:49 +00:00
Scott Gray
c15dc88751
Fix potential issue pointed out by Jacopo, double quotes with a field value must be replaced by double double quotes
...
e.g. "42" Television" needs to be "42"" Television"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809263 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 08:14:41 +00:00
Scott Gray
61fbc38342
Continuation of Jacopo's commit, surround everything in quotes and the space removed in r809249 will prevent Excel from handling them incorrectly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:34:37 +00:00
Jacopo Cappellato
905a966ddb
Based on feedback from Scott Gray, removed space between fields separated by commas in CSV exports: it was causing values with quoted texts in fields imported in Excel.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809249 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:17:06 +00:00
Jacques Le Roux
73b17f973c
I finally reverted this change, I did not look at all aspects and it was actually OK
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:57:39 +00:00
Hans Bakker
841efcfafd
updated license files and improved docbook pdf generation: still however an empty pdf document
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809136 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:45:00 +00:00
Scott Gray
271e2f3430
Removing unnecessary beforeFirst() call, fixes problem reported by Matthieu Bollot on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:22:59 +00:00
Scott Gray
d185774026
Fix to make sure the ELI count handles distinct queries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 09:13:01 +00:00
Scott Gray
12566c26b9
Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
...
and memory performance if a cursor isn't being used on large result sets quite a bit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Scott Gray
4f373bdf8e
Changes to the performFind and performFindList services to limit the size of the resultset where possible.
...
Changes to ModelForm to allow using form supplied pagination information as service parameters in the action tag, plus changes to how the list size is retrieved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808814 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:40:58 +00:00
Scott Gray
712364816b
Changes to the EntityListIterator to use a separate COUNT query to determine the result size plus a few other changes to help the ELI deal with TYPE_FORWARD_ONLY resultsets.
...
The changes to SQLProcessor are unrelated and contains no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808812 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:35:45 +00:00
Jacques Le Roux
47a23c8778
Fix a bug reported by Ján Valkovic on user ML about about service CreateLead informations in Webtools (actions is not the same as actionsAndSet)
...
in Webtools, in the ECA section of services info, the I have added a column for fields set.
In availableservices.ftl, I have also replaced
<td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService?default(uiLabelMap.CommonNA)}</td>
by
<#if condition.isService?has_content>
<td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService}</td>
<td colspan="2"> </td>
</#if>
I think we don't need to show informations (actually always NA) about attributes not used. But as I was not sure everybody would agree, I only did this one as an example. So What do you think, should we do it for all occurrences ?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808786 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 07:21:52 +00:00
Hans Bakker
59040b5ec8
Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Hans Bakker
0de880f3ef
adding docbook dtd/xsd, templates to generate html/pdf and more. Approval was obtained by email to Norman Walsh with the question: Is there any objections in including Docbook dtd/xsl/xsl files in Apache OFBiz, his answer: None at all. Share and enjoy! (Tue, 25 Aug 2009 07:27:51 -0400 (18:27 ICT)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 13:29:07 +00:00
Jacopo Cappellato
3429865136
Created method that "creates a child element with the given namespace supportive name and appends it to the element child node list". Patch from Ashish Vijaywargiya
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:16:23 +00:00
Scott Gray
461296fd8c
Applied patch from Ashish Vijaywargiya that allows adding namespace aware child elements via UtilXml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:22:09 +00:00
Anil Patel
c482278b28
Hindi translation of common uilabels. Patch from OFBIZ-2829. Thanks Arpit, Sumit and others for help.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807921 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:21:22 +00:00
Scott Gray
ef7663888d
Switched FindGeneric.groovy back to using findCountByCondition rather than eli.getResultSizeAfterPartialList()
...
I found on my local machine that for every 100,000 rows in the result set getResultSizeAfterPartialList would take an additional 5-7 seconds to execute.
findCountByCondition was taking roughly 2 seconds at most to count 700,000 records
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 00:41:57 +00:00
Jacques Le Roux
d56abcb7aa
Font size was too big (in French it breaks the layer)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 11:26:54 +00:00
Scott Gray
c7c375cecc
Don't redirect https requests to http if the request map specifies https since it forces the client to repost data over an unsecure connection
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:49:07 +00:00
Adrian Crum
9a91f970f2
Fix JavaDoc comments in UelUtil.java - reported by Bob Morley, https://issues.apache.org/jira/browse/OFBIZ-2850 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806377 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:10:44 +00:00
Adrian Crum
2929bd3734
Fixed the package name in an Example entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806012 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:29:30 +00:00
Jacopo Cappellato
406a78b5ba
Temporary solution to avoid messed up CSV exports: commas are removed from the content of the fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805711 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:02:16 +00:00
Adrian Crum
dbbab57c8a
Fixed a problem in testtools - reported by Jacques on the mailing list.
...
Someone familiar with Selenium will have to figure out a way to get it to use the jar in build/lib.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805642 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:40:42 +00:00
Jacques Le Roux
7befd1d25e
no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Jacques Le Roux
30e61ba8f8
Same error than in r763199 (and I knew that, sorry)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804896 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:23:25 +00:00
Jacques Le Roux
4c442ee379
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Hans Bakker
c76137a4c7
several adjustments to the help system, now using contentId to select and use underscore in contentId
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 07:15:41 +00:00
Hans Bakker
966b32d5af
The 'new' help system
...
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.
The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component
The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd
Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Jacques Le Roux
100c2e861c
Remove some duplicates introduced by recent Chinese translation and a better French label
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804441 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 08:08:57 +00:00
Jacopo Cappellato
d073d1db07
"admin" user is only in demo data.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804131 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:54:01 +00:00
Hans Bakker
31a5a0c5f4
reverted 804104 because of compile error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:48:06 +00:00
Hans Bakker
e40f03e356
adjustment of storing/retrieving timestamp in the proper timezone. In the database the time zone is always GMT
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:42:30 +00:00
Hans Bakker
fbaad86261
unwanted change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804075 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:24:25 +00:00
Hans Bakker
2d51096b6d
Excellent contribution from Brett G. Palmer in issue: OFBIZ-2116
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804074 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:22:27 +00:00
Scott Gray
14baa87a47
Applied patch from Ashish Vijaywargiya, fixes a couple build issues with components created using ant create-component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 02:54:30 +00:00
Scott Gray
e371344391
Fixed double encoding problem reported by Jacopo on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803848 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:36:56 +00:00
Anil Patel
efb6d2cc8d
1) All columns with the exception of the first one have double-quotes around the text and the number fields.
...
Status : Resolved
2) I also noticed that the column headers (labels) are not matching the data after Column N.
Status : Resolved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803557 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:33:18 +00:00
Scott Gray
25e7c97f50
Turn off the cross subdomain session valve by default, it creates too many unnecessary sessions and causes issues for other subdomain use cases
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803531 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:25:41 +00:00
Hans Bakker
63a818ab65
extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +00:00
Jacopo Cappellato
3367a59a28
Fix for bug reported by Hans Bakker in OFBIZ-2823.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803013 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 07:30:06 +00:00
Adrian Crum
38f8588dea
Small code cleanup in DelegatorData.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:22:40 +00:00
Adrian Crum
22dc76f12f
Fixed a bug in DelegatorData.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802877 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:09:07 +00:00
Hans Bakker
9cbf24468b
better show edit screen to easy add comments by users.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802802 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:12:13 +00:00
Hans Bakker
07d61162a4
only show when porlet help screen if available, else show default my portal help screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802797 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:57:53 +00:00