[jira] [Resolved] (OFBIZ-5667) StringUtil api tests broken by 1330995

2014-06-24 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath resolved OFBIZ-5667. --- Resolution: Fixed Fix Version/s: SVN trunk StringUtil api tests broken by 1330995

[jira] [Commented] (OFBIZ-5331) Change EntityComparisonOperator to use compareTo()

2014-06-24 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14043067#comment-14043067 ] Adam Heath commented on OFBIZ-5331: --- This is next on my list. Nice change

Re: Freemarker

2014-06-23 Thread Adam Heath
Thanks Jacopo for looking into this. I haven't had time to jump back in to this old bug, I've been distracted on that other issue(keep finding more problems). On 06/23/2014 10:20 AM, Jacopo Cappellato wrote: sure, I will. Thanks, Jacopo On Jun 23, 2014, at 4:42 PM, Dékány Dániel

Re: The official demos are back

2014-06-23 Thread Adam Heath
Do you mean 2 connections, one on 8080(as before), and one on 8444, in http mode, but with secure=true? On 06/23/2014 04:06 AM, Jacques Le Roux wrote: Please report any unexpected error. Because we are using *ONLY HTTP on the VM*, we might encounter surprising errors since this mode is not

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14041518#comment-14041518 ] Adam Heath commented on OFBIZ-5659: --- This should all be fixed now, in svn revisions

[jira] [Updated] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath updated OFBIZ-5659: -- Fix Version/s: SVN trunk Person.socialSecurityNumber can't be used for findByAnd

Re: [jira] [Updated] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-23 Thread Adam Heath
07:30 PM, Adam Heath (JIRA) wrote: [ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath updated OFBIZ-5659: -- Fix Version/s: SVN trunk Person.socialSecurityNumber can't be used

[jira] [Commented] (OFBIZ-5565) FinAccountHelper.getFinAccountFromCode() no longer returns financial account

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14041567#comment-14041567 ] Adam Heath commented on OFBIZ-5565: --- Ok, yes, I see how this broke. My salted crypt

[jira] [Updated] (OFBIZ-5565) FinAccountHelper.getFinAccountFromCode() no longer returns financial account

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath updated OFBIZ-5565: -- Fix Version/s: (was: Release Branch 13.07) This fix for this is difficult to backport to 13.07

[jira] [Resolved] (OFBIZ-5565) FinAccountHelper.getFinAccountFromCode() no longer returns financial account

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath resolved OFBIZ-5565. --- Resolution: Fixed FinAccountHelper.getFinAccountFromCode() no longer returns financial account

[jira] [Commented] (OFBIZ-3006) entity encrypt columns not using encryption salt value?

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14041578#comment-14041578 ] Adam Heath commented on OFBIZ-3006: --- Jacques, SHA1 and MD5 are the same kind

[jira] [Closed] (OFBIZ-3006) entity encrypt columns not using encryption salt value?

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath closed OFBIZ-3006. - Resolution: Fixed Fix Version/s: SVN trunk entity encrypt columns not using encryption salt

[jira] [Commented] (OFBIZ-1232) Data filtering in entity views

2014-06-23 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14041585#comment-14041585 ] Adam Heath commented on OFBIZ-1232: --- This set of changes might be much simpler now. I

Re: [jira] [Updated] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-23 Thread Adam Heath
, but the farther you go back, the less compatible the code is - so merges are more difficult. Adrian Crum Sandglass Software www.sandglass-software.com On 6/23/2014 5:32 PM, Adam Heath wrote: The series of changes required to get this seemingly simple feature to work were rather complex. I'm

Re: Review of Accounting/Budget functionality via r1573884 r1574400

2014-06-20 Thread Adam Heath
On 06/20/2014 10:42 AM, Adrian Crum wrote: No one is lowering the bar. The problem is, you still don't understand how an open source community works. This is wrong. There is no hard-set one-workflow-to-bind-them methodology here. Some people seem to think there is. The Review-Commit

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037490#comment-14037490 ] Adam Heath commented on OFBIZ-5659: --- I'm not checking fin account code

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037491#comment-14037491 ] Adam Heath commented on OFBIZ-5659: --- Hmm, the removing of those asm jars might be due

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037535#comment-14037535 ] Adam Heath commented on OFBIZ-5659: --- That same procedure doesn't work in release4.0

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037572#comment-14037572 ] Adam Heath commented on OFBIZ-5659: --- It's not about which release is supported

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037609#comment-14037609 ] Adam Heath commented on OFBIZ-5659: --- I now have this working locally. I can now do

[jira] [Commented] (OFBIZ-3006) entity encrypt columns not using encryption salt value?

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037612#comment-14037612 ] Adam Heath commented on OFBIZ-3006: --- This issue is about using salt for one-way hashes

[jira] [Commented] (OFBIZ-1151) Passwords are not salted

2014-06-19 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14037616#comment-14037616 ] Adam Heath commented on OFBIZ-1151: --- So, about updating the demo data, to have random

very weird odd double encryption bug with repeated store being observed

2014-06-19 Thread Adam Heath
Consider the following code: == person = delegator.makeValue(Person, UtilMisc.toMap(partyId, 1234); person.setString(socialSecurityNumber, 1234); person.store(); assertEquals(1234, person.get(socialSecurityNumber)); == The assert will *fail*, because when the store() is called, the encrypted

major change to field encryption

2014-06-19 Thread Adam Heath
So, based on my findings on field encryption(see previous threads and issue OFBIZ-5659), I decided that doing in-place encryption in EntityExpr, against rhs, and in-place encryption on GenericEntity, really wasn't the correct approach. The following code patterns break when this is done: ==

[jira] [Created] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-18 Thread Adam Heath (JIRA)
Adam Heath created OFBIZ-5659: - Summary: Person.socialSecurityNumber can't be used for findByAnd Key: OFBIZ-5659 URL: https://issues.apache.org/jira/browse/OFBIZ-5659 Project: OFBiz Issue Type

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-18 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14035900#comment-14035900 ] Adam Heath commented on OFBIZ-5659: --- Btw, I was the one who committed this code 2 years

Re: Freemarker

2014-06-18 Thread Adam Heath
Yeah, I saw both mails. Ofbiz is at the top of my list now. Rest of the day. However, OFBIZ-5659 is first, as it breaks existing functionality(has done so for 2 years). On 06/18/2014 04:11 AM, Jacopo Cappellato wrote: I did the tests but unfortunately they were still not successful. I have

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-18 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14036527#comment-14036527 ] Adam Heath commented on OFBIZ-5659: --- Ok, what fun. This functionality was *not* broken

[jira] [Commented] (OFBIZ-5659) Person.socialSecurityNumber can't be used for findByAnd

2014-06-18 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14036551#comment-14036551 ] Adam Heath commented on OFBIZ-5659: --- Plus, that method will attempt to encrypt null rhs

EntityCondition, javolution ObjectFactory, immutability

2014-06-18 Thread Adam Heath
I noticed that Adrian removed most of javolution from the entity engine, just over a year ago. One of the uses was the ObjectFactory pattern. That is good. However, that change still made use of generic do-nothing constructors, and init() helper methods. Is there any particular reason to

Re: [ansible-project] with_items and array concatenation?

2014-06-04 Thread Adam Heath
On 06/04/2014 04:47 PM, Dmitry Makovey wrote: with_items: groups[A] ansible uses jinga2. Look up that syntax. Then, off the top of my head, may not be exactly right, but: groups[A].concat(groups[B]) | set | list Some of that is python syntax(the contact, check jinga2 and python docs),

Re: [ansible-project] Users - passwords - not getting it

2014-05-28 Thread Adam Heath
On 05/28/2014 11:32 AM, Brian Dunbar wrote: mkpasswd --method=SHA-512 That runs mkpasswd with stdin unattached. If you run it manually, you'll see it prompting for a password. If you run it multiple times, and keep hitting enter(simulating a disconnected stdin), then you'll get different

Re: svn commit: r1594758 - /ofbiz/trunk/.gitignore

2014-05-18 Thread Adam Heath
I'm the one who originally added this file. Hans, you're wrong. Not everyone does git integration work the same way. Some might use symlinks in hot-deploy, linked to locations outside of the ofbiz tree. In those cases, the symlinks should be maintained in the parent repo. Other methods

Re: svn commit: r1594758 - /ofbiz/trunk/.gitignore

2014-05-18 Thread Adam Heath
, when there is no support for this will do it locally which is now much easier with Git anyway. Regards, Hans On 19/05/14 09:43, Adam Heath wrote: I'm the one who originally added this file. Hans, you're wrong. Not everyone does git integration work the same way. Some might use symlinks

[jira] [Commented] (VFS-142) Clear ThreadData after all streams are closed, fixes a memory leak

2014-05-15 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/VFS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13998429#comment-13998429 ] Adam Heath commented on VFS-142: Our current deployment application does not make use

Re: [ansible-project] Run a command on just 1 server (like pause)

2014-05-14 Thread Adam Heath
By default, ansible looks for tasks in $PWD. tasks are sent to the remote host, and don't run local. If you create ansible.cfg in $PWD, and override defaults.library, then you can have local modules; these run on the local machine. The following works when ansible is installed thru a

Re: [ansible-project] Run a command on just 1 server (like pause)

2014-05-14 Thread Adam Heath
question above I think?) On Wed, May 14, 2014 at 5:21 PM, Adam Heath a...@brainfood.com mailto:a...@brainfood.com wrote: By default, ansible looks for tasks in $PWD. tasks are sent to the remote host, and don't run local. If you create ansible.cfg in $PWD, and override defaults.library

Re: [ansible-project] apt returns: No package matching... but apt-get install on managed host works

2014-04-11 Thread Adam Heath
Multi-arch? Aka, this is a 64-bit machine, but that package is only available on i386, and the idempotent ansible apt module isn't capable of dealing with that? On 04/11/2014 01:21 PM, Todd Sampson wrote: I'm fairly new to Ansible. I really like it but can't get past this show stopper. If

Re: [ansible-project] apt returns: No package matching... but apt-get install on managed host works

2014-04-11 Thread Adam Heath
and now it works. Thanks for taking the time to help! Todd On Fri, Apr 11, 2014 at 4:37 PM, Adam Heath a...@brainfood.com mailto:a...@brainfood.com wrote: Multi-arch? Aka, this is a 64-bit machine, but that package is only available on i386, and the idempotent ansible apt module isn't

Re: FinAccountHelper.getFinAccountFromCode() no longer returns financial account

2014-03-12 Thread Adam Heath
I don't see a JIRA issue filed on this yet. On 03/06/2014 09:22 PM, Adam Heath wrote: I'm surprised there was no test case on this. Do you have key-encrypting-key enabled in your new deployment? It's not possible to enable that on an existing install. You'd have to do a code-based copy

Re: FinAccountHelper.getFinAccountFromCode() no longer returns financial account

2014-03-06 Thread Adam Heath
I'm surprised there was no test case on this. Do you have key-encrypting-key enabled in your new deployment? It's not possible to enable that on an existing install. You'd have to do a code-based copy, loading data from the old delegator, without kek, and copying to a new delegator, with

Re: [ansible-project] Firewall Module?

2014-03-04 Thread Adam Heath
There are too many ways of maintaining a firewall, across all types of admins, OS, etc. However, I make use of a firewall role, I set ports when I attach it to a host, and then, I made an executive decision that the 'app' I'm configuring will use a particular type of firewall software.

Re: [ansible-project] Specify host for a playbook task

2014-03-03 Thread Adam Heath
delegate_to: On 03/03/2014 02:51 PM, Michael Mahemoff wrote: Is there any way to override the current host for a given task? I want to set up a recurring database copy, so I need to run some commands within a playbook (all of which apply only if a variable is turned on at the command-line).

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Adam Heath
For yum, I disable fastestmirror, set hard-coded repo sites, then configure an http_proxy. For apt, I set hard-coded repo sites, then configure an http_proxy. This seems much lighter weight then cloning an entire OS distribution, when most packages aren't going to be installed anyways. ps:

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Adam Heath
Sure, but it's easier in debian, as snapshot/backports are also mirrored. On 02/27/2014 12:17 PM, Michael DeHaan wrote: Was talking about yum. -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving

Re: [ansible-project] Resolve nested variable in template

2014-02-19 Thread Adam Heath
On 02/19/2014 10:11 AM, Serge van Ginderachter wrote: On 19 February 2014 15:03, Khuong Dinh Pham khuon...@gmail.com mailto:khuon...@gmail.com wrote: Vars: environements: [trunk, dev01] my_trunk_port: 8080 my_dev01_port: 8180 Template: {{ my_{{ env }}_port }} ​try

Re: [ansible-project] Re: Resolve nested variable in template

2014-02-19 Thread Adam Heath
vars: port_vars: my_trunk_port: 8080 my_dev01_port: 8180 my_dev02_port: 8280 my_dev03_port: 8480 - set_fact: my_ports: {} - pause: seconds=0 when: (my_ports[item[0].substring(3).substring(0,len(item[0]) - 3)] = item[1]) and false or false with_items: port_vars.items() -

Re: [ansible-project] Custom item output

2014-02-12 Thread Adam Heath
I find this annoying too. +1 on my vote. On 02/12/2014 12:55 PM, Rumen Telbizov wrote: Hello ansible list, Here's a quick question that I was trying to find an answer for. Maybe I am missing the obvious but I can't find a way to control the output of the item variable during a loop

Re: [ansible-project] ERROR: AsciiDoc 'a2x' command is not installed but is required to build

2014-02-05 Thread Adam Heath
root@urk:~# apt-file search bin/a2x asciidoc: /usr/bin/a2x And yum search asciidoc comes up with results. Does rpm.spec have a way to list a series of build dependencies? I'm a Debian guy, and that would be done thru debian/control:Build-Depends On 02/05/2014 11:28 AM, Yuri Lukyanov wrote:

Re: [ansible-project] ERROR: AsciiDoc 'a2x' command is not installed but is required to build

2014-02-05 Thread Adam Heath
On 02/05/2014 12:30 PM, Michael DeHaan wrote: Asciidoc produces no results on what platform? Confused by your apt-file command above. == apt-get install apt-file apt-file update == This will download the Contents-$arch.gz files from your debian mirror, then build an index of file-package

Re: [ansible-project] ERROR: AsciiDoc 'a2x' command is not installed but is required to build

2014-02-05 Thread Adam Heath
On 02/05/2014 12:31 PM, C. Morgan Hamill wrote: Excerpts from Adam Heath's message of 2014-02-05 13:24:48 -0500: root@urk:~# apt-file search bin/a2x asciidoc: /usr/bin/a2x And yum search asciidoc comes up with results. Does rpm.spec have a way to list a series of build dependencies? I'm a

Re: [ansible-project] Configuring Ansible to run play books through a bastion host on aws/ec2

2014-02-05 Thread Adam Heath
I've had musings on that too. Currently, I think you'd have to manually configure $HOME/.ssh/config, with ProxyCommand. However, I just had a thought. What if there was an ansible_ssh_proxy=$other_inventory_host feature? When set, ansible would auto-add the -o ProxyCommand=$something.

Re: [ansible-project] Configuring Ansible to run play books through a bastion host on aws/ec2

2014-02-05 Thread Adam Heath
for those two files? Seems like it might cause some confusion. On 02/05/2014 01:51 PM, Adam Heath wrote: I've had musings on that too. Currently, I think you'd have to manually configure $HOME/.ssh/config, with ProxyCommand. However, I just had a thought. What if there was an ansible_ssh_proxy

Re: [ansible-project] Configuring Ansible to run play books through a bastion host on aws/ec2

2014-02-05 Thread Adam Heath
On 02/05/2014 02:31 PM, Matt Martz wrote: I use bastions for nearly all of my communication with servers. It is all done via my ~/.ssh/config file. Something like: Host bastion User myuser HostName bastion.example.org ProxyCommand none

Re: [ansible-project] Conditionals - when: var1 and var2 is defined works in a weird way

2014-02-03 Thread Adam Heath
false != false. You have a string/boolean issue. Aka, the var1 is not the boolean value false, but the string value false. On 02/03/2014 06:32 PM, Roman Revyakin wrote: Hi, I am not sure whether someone has come across this issue previously - trying to search the group for 'when' and 'is

Re: [ansible-project] different groups with different variables using the same role in the same host

2014-01-31 Thread Adam Heath
I've been using variants of dict.keys(), dict.values(), and dict.items() when utilizing with_items iteration. On 01/31/2014 09:07 AM, Guillem Liarte wrote: This works however: ## --- - hosts: moscatell tasks: - debug: msg={{ project[item] }} with_items: project_list -- You

Re: [ansible-project] register variable being truncated

2014-01-31 Thread Adam Heath
debug: msg={{ commit error }} On 01/31/2014 11:55 AM, David Gethings wrote: Hi, I am working with a custom module. Sometimes it returns an error that I want to capture and then act on in another task. I have a register set and ignore_errors set to True in the playbook. However the msg returned

Re: [ansible-project] roles with pre_tasks and post_task

2014-01-30 Thread Adam Heath
Oh, oops, my bad, I wasn't aware there was a -dev list. On 01/30/2014 04:40 PM, Paul Durivage wrote: Hi Adam, I suggest taking this to the developer list for further discussion. Features and ideas are regularly discussed there with the Ansible team.

[ansible-project] roles with pre_tasks and post_task

2014-01-29 Thread Adam Heath
I have a patch locally that enables pre and post processing for roles. The directory names are pre_tasks and post_tasks, of course. The flow is: - hosts: targets roles: - role-1 - role-2 pre_tasks: - name: one tasks: - name: two post_tasks: - name: three and evaluates

Re: [ansible-project] Not detecting whether variable for 'user' is setup.

2014-01-28 Thread Adam Heath
It's remote_user, which I think changed in 1.4. I just remember seeing that in the docs yesterday. On 01/28/2014 10:54 AM, Marcin Prączko wrote: Hi, Accually I think is still not working as expected: [vagrant@devopsadmin dir01]$ ansible --version ansible 1.4.3 Playbook: - name: Common |

Re: [ansible-project] git module now has sshopts and keyfile parameters

2014-01-24 Thread Adam Heath
On 01/23/2014 09:37 PM, James Tanner wrote: On 01/23/2014 08:46 PM, a...@brainfood.com wrote: The accept_hostkey fails if $HOME/.ssh doesn't already exist. -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and

Re: [ansible-project] Re: ansible now supports su as an alternative to sudo

2014-01-24 Thread Adam Heath
The following playbook doesn't do what I think it should. The su on the task stays as root. I was asked to file a bug; I could still do so. But if you think you have a handle on it, then it might just be better to past this here. cmd: ansible-playbook -i hosts.txt su-for-task-broken.yml

Re: [ansible-project] git module now has sshopts and keyfile parameters

2014-01-24 Thread Adam Heath
As for tests, I have a complete test system for the internal backup tool I've written and used at $work. I basically start up a user-mode-linux instance, then mount hostfs and overlayfs, so that I can run things as root, it has no outbound network, I then start up a dummy sshd, create a dummy

Re: OFBiz JSON Classes

2014-01-06 Thread Adam Heath
Because that's how javacc works, it takes effort to keep it from not generating those files. And, those aren't the same classes, btw. The fix for this would require changing javacc to allow for a different exception to be thrown by the generated methods; this would then mean a shared class

[jira] [Commented] (OFBIZ-5304) Using Quick checkout, last order screen does not appear

2013-10-02 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13784138#comment-13784138 ] Adam Heath commented on OFBIZ-5304: --- Hmm, you just beat me. My git ofbiz was a bit out

[jira] [Commented] (OFBIZ-5304) Using Quick checkout, last order screen does not appear

2013-09-30 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13781999#comment-13781999 ] Adam Heath commented on OFBIZ-5304: --- Checking... Using Quick checkout, last order

Re: Using Quick checkout, last order screen does not appear

2013-09-30 Thread Adam Heath
On 09/28/2013 03:15 AM, Jacques Le Roux wrote: Jacques Le Roux wrote: Hi Adam, Please have a look at https://issues.apache.org/jira/browse/OFBIZ-5304 when you will get a chance It's about http://svn.apache.org/r1482130 FEATURE: Allow events to return none; they can already return null, which

[jira] [Commented] (OFBIZ-5304) Using Quick checkout, last order screen does not appear

2013-09-30 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782150#comment-13782150 ] Adam Heath commented on OFBIZ-5304: --- Hmm, there are controller.xml entries with name

[jira] [Commented] (OFBIZ-5304) Using Quick checkout, last order screen does not appear

2013-09-30 Thread Adam Heath (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782249#comment-13782249 ] Adam Heath commented on OFBIZ-5304: --- Can do, will be done tomorrow. Using Quick

Re: svn commit: r1497897 - /ofbiz/trunk/build.xml

2013-07-01 Thread Adam Heath
You're email was a response to build.xml, not those, so I'm guessing that not enough people have seen this fix; namely, Adrian is the one who rewrote that logic(to make it more finalizable), so introduced this problem. On 06/29/2013 02:58 AM, Jacques Le Roux wrote: I was not speaking of this

Re: svn commit: r1497892 - in /ofbiz/trunk/framework: common/webcommon/WEB-INF/common-controller.xml webapp/src/org/ofbiz/webapp/control/LoginCheck.java webapp/src/org/ofbiz/webapp/control/LoginWorker

2013-06-28 Thread Adam Heath
I have a component that allows ofbiz to use an external install of JaSig CAS, and has both an openid client *and* server implementation. Is the rest of the community interested in such a component? On 06/28/2013 02:08 PM, doo...@apache.org wrote: Author: doogie Date: Fri Jun 28 19:08:32 2013

Re: svn commit: r1497897 - /ofbiz/trunk/build.xml

2013-06-28 Thread Adam Heath
Huh? This is a fix for a change that I just added *today*. What is there to backport? On 06/28/2013 03:33 PM, Jacques Le Roux wrote: Should we not backport those fixes? Jacques From:doo...@apache.org Author: doogie Date: Fri Jun 28 19:30:09 2013 New Revision: 1497897 URL:

Re: svn commit: r1497897 - /ofbiz/trunk/build.xml

2013-06-28 Thread Adam Heath
I don't see the need. If there are folders in hot-deploy that aren't supposed to be built, so one created a hot-deploy/build.xml to keep them from building, but because docs didn't use that, would cause an issue. Just don't build the docs then, it's not really something that should be

Bug#712909: ifquery doesn't process source correctly

2013-06-20 Thread Adam Heath
package: ifupdown version: 0.7.8 severity: minor I make use of a relative path to source in /etc/network/interfaces, as implied by the manpage. ifup -a will see all defined interfaces in external files. However, ifquery uses $PWD when attempting to find the referenced file. So, if I am in

Bug#712909: ifquery doesn't process source correctly

2013-06-20 Thread Adam Heath
On 06/20/2013 01:21 PM, Andrew Shadura wrote: A workaround is to specify the full path in /etc/network/interfaces. I'm not sure it's a bug, actually... It's said nowhere if relative paths are supported at all, or if they're calculated relatively to /e/n/interfaces. Not sure how it should be

Bug#712909: ifquery doesn't process source correctly

2013-06-20 Thread Adam Heath
On 06/20/2013 01:37 PM, Andrew Shadura wrote: Hello, On Thu, 20 Jun 2013 13:30:14 -0500 Adam Heathdoo...@brainfood.com wrote: ifquery should probably do the same thing as ifup. ifup -a *does* prepend /etc/network to it. Ifquery is the same ifup which just doesn't run commands. The parsing

Re: svn commit: r1482796 - /ofbiz/trunk/framework/entity/dtd/entity-config.xsd

2013-05-15 Thread Adam Heath
Is there code in ofbiz that reads these attributes? Do they get stored into some kind of light-weight container class? If no, then they *should* be removed. If such code does exist, then this was just a pure bug. However, there should be a new way to 'extend' for downstreams that want to have

Re: svn commit: r1482689 - /ofbiz/trunk/applications/order/data/OrderTypeData.xml

2013-05-15 Thread Adam Heath
Hmm. enumCode with a typo. Couldn't this possibly break something somewhere for somebody? On 05/15/2013 01:27 AM, jaco...@apache.org wrote: Author: jacopoc Date: Wed May 15 06:27:41 2013 New Revision: 1482689 URL: http://svn.apache.org/r1482689 Log: Fixed typos Modified:

Re: svn commit: r1482067 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java

2013-05-14 Thread Adam Heath
Then remove all calls to UtilValidate in other parts of the code. :| On 05/14/2013 12:09 PM, Adrian Crum wrote: Ummm... I have a List in my hand. Instead of calling the size() method on that List, I hand it over to a method in another class that calls the size() method. How is that an

Re: svn commit: r1482441 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityFieldMap.java

2013-05-14 Thread Adam Heath
Nope. fieldMap is a protected field, there is no way to add or change things in it. Even the accessor methods pass the map thru unmodifiableMap(). On 05/14/2013 12:06 PM, Adrian Crum wrote: This might cause problems. The empty collections are immutable, and client code might try to add

Re: svn commit: r1482067 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java

2013-05-14 Thread Adam Heath
Well, size() itself can be heavyweight, consider a LinkedList, or one of the concurrent classes. isEmpty() calls Collection.empty(). Also, with more things calling the lower-level support methods, the JIT can see that the called code is a hot-path, and decide to inline. With copies of the code

Re: buildbot exception in ASF Buildbot on ofbiz-trunk

2013-05-13 Thread Adam Heath
I am very confused. This is the rmi/jar change I introduced in 1482060. I just re-verified that both the internal ant(1.9.0) and the system level ant(1.8.2) do the correct thing. A clean/build cycle thru the framework/service component auto-creates the build/rmi folder, without explicity doing

Re: buildbot exception in ASF Buildbot on ofbiz-trunk

2013-05-13 Thread Adam Heath
Could it be an older ant? Maybe 1.7 doesn't auto-create folders. On 05/13/2013 03:16 PM, Adam Heath wrote: I am very confused. This is the rmi/jar change I introduced in 1482060. I just re-verified that both the internal ant(1.9.0) and the system level ant(1.8.2) do the correct thing

Bug#699923: grub-pc fails to upgrade when virtualized device changes type

2013-02-06 Thread Adam Heath
package: grub-pc version: 1.99-23.1 severity: important I use opennebula for virtualization. I had originaly created a new image, and installed squeeze to it. The device mapping I used at the time exposed this drive as /dev/vda. Then, I cloned(copied) the image file, and started a new machine.

Bug#699274: wget segfault: -T 0 --no-check-certificate

2013-01-29 Thread Adam Heath
package: wget version: 1.13.4-2 version: 1.13.4-3 arch: i386 amd64 Issuing a wget to an https scheme that has a bad cert(both expired, and hostname != cert_host), then setting a timeout to 0, causes wget to segfault. == 10:53:19 -0600 adam@zoot:~(zoot)$ wget -T 0 --no-check-certificate

Re: [VOTE] [RESULT] Apache OFBiz 11.04.02

2013-01-17 Thread Adam Heath
On 01/17/2013 11:15 AM, Jacopo Cappellato wrote: Thanks to the voters, this vote has passed with the following results: [+1] 8 [-1] 0 The minimum (3) number of +1 votes from PMC members has been reached: 6 positive votes from PMC members. I will proceed with the remaining steps

Re: [VOTE] [RESULT] Apache OFBiz 11.04.02

2013-01-17 Thread Adam Heath
On 01/17/2013 11:15 AM, Jacopo Cappellato wrote: Thanks to the voters, this vote has passed with the following results: [+1] 8 [-1] 0 The minimum (3) number of +1 votes from PMC members has been reached: 6 positive votes from PMC members. I will proceed with the remaining steps

Re: [VOTE] [RESULT] Apache OFBiz 11.04.02

2013-01-17 Thread Adam Heath
On 01/17/2013 11:55 AM, Jacques Le Roux wrote: From: Adam Heath doo...@brainfood.com On 01/17/2013 11:15 AM, Jacopo Cappellato wrote: Thanks to the voters, this vote has passed with the following results: [+1] 8 [-1] 0 The minimum (3) number of +1 votes from PMC members has been reached: 6

Re: [VOTE] [RESULT] Apache OFBiz 11.04.02

2013-01-17 Thread Adam Heath
On 01/17/2013 12:16 PM, Jacopo Cappellato wrote: On Jan 17, 2013, at 6:41 PM, Adam Heath wrote: Oh, and 3.5 days for voting is *NOT* enough time. Not by a long shot. Are these the reasons you have missed mostly all the voting threads in the OFBiz release history? :-) That's a separate

Re: [VOTE] [RESULT] Apache OFBiz 11.04.02

2013-01-17 Thread Adam Heath
On 01/17/2013 01:18 PM, Jacopo Cappellato wrote: On Jan 17, 2013, at 8:11 PM, Ean Schuessler wrote: think Adam's point was that someone could synthesize a vote from you (or, more importantly a vote from a mostly dormant member like Adam) and get something to pass. Since, in practice, this

Re: svn commit: r1420019 - /ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml

2012-12-12 Thread Adam Heath
On 12/11/2012 08:25 PM, Adrian Crum wrote: The tool used to minify CSS and JS files was removed in rev 1416358. Then the visual theme was partially updated to not use the minify tool. But that broke the theme, because the original commit to minify the Flat Grey theme was not completely

Re: svn commit: r1420019 - /ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml

2012-12-12 Thread Adam Heath
On 12/12/2012 01:34 PM, Jacques Le Roux wrote: Adam Heath wrote: On 12/11/2012 08:25 PM, Adrian Crum wrote: The tool used to minify CSS and JS files was removed in rev 1416358. Then the visual theme was partially updated to not use the minify tool. But that broke the theme, because

Re: svn commit: r1420019 - /ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml

2012-12-12 Thread Adam Heath
On 12/12/2012 04:40 PM, Jacques Le Roux wrote: Ok, then I disagree. So what if using yuicompressor on birt causes birt to break. That's birt's problem, or yuicompressor's problem. If it works fine with ofbiz files(or ofbiz files can be changed to make it work), then why not use it? It

Re: svn commit: r1420019 - /ofbiz/trunk/themes/flatgrey/data/FlatGreyThemeData.xml

2012-12-11 Thread Adam Heath
Er, no. Please revert. The correct fix is to update build.xml to minimise these files. On 12/11/2012 01:31 AM, jler...@apache.org wrote: Author: jleroux Date: Tue Dec 11 07:31:40 2012 New Revision: 1420019 URL: http://svn.apache.org/viewvc?rev=1420019view=rev Log: Fixes Flatgrey visual

Re: svn commit: r1418996 - in /ofbiz/trunk/framework: common/config/SecurityextUiLabels.xml common/src/org/ofbiz/common/login/LoginServices.java security/config/security.properties

2012-12-11 Thread Adam Heath
On 12/11/2012 03:46 AM, adrian.c...@sandglass-software.com wrote: Quoting Jacques Le Roux jacques.le.r...@les7arts.com: Adrian Crum wrote: On 12/9/2012 2:59 PM, jler...@apache.org wrote: Author: jleroux Date: Sun Dec 9 14:59:52 2012 New Revision: 1418996 URL:

Re: Formatting question

2012-12-07 Thread Adam Heath
On 12/07/2012 06:08 AM, Jacques Le Roux wrote: Hi All, This is a personal question not specifically related to OFBiz nor any projects, just curious (and refreshing ;o) I'm seeking opinion about one line vs multi lines w/t brackets vs multi lines w/out brackets for if and for expressions

Re: svn commit: r1416366 - /ofbiz/trunk/applications/party/entitydef/entitymodel.xml

2012-12-04 Thread Adam Heath
On 12/03/2012 01:34 AM, jler...@apache.org wrote: Author: jleroux Date: Mon Dec 3 07:34:29 2012 New Revision: 1416366 URL: http://svn.apache.org/viewvc?rev=1416366view=rev Log: A patch from Carsten Schinzer for Typo in new party-entitymodel

Re: Slim-down effort: current situation

2012-11-21 Thread Adam Heath
On 11/20/2012 07:17 PM, Jacques Le Roux wrote: No worries Adam, Paul gave Yum just as a sort-of-like example. I don't know the addons technology, but I'm sure it's not related at all with Yum or even apt-get (more Ant and maybe Ivy) And of course, we all prefer get-apt (at least I do,

Re: Is it a good time to remove the debian folder?

2012-11-21 Thread Adam Heath
On 11/21/2012 12:28 AM, Jacopo Cappellato wrote: Could you please verify this with Daniel? He asked me to which address you sent it (US or Hungary)... I've already sent him a heads up. I don't know where it was sent, and the lady who would have the records is out of the office today.

Re: Is it a good time to remove the debian folder?

2012-11-20 Thread Adam Heath
On 11/16/2012 04:24 AM, Jacopo Cappellato wrote: I don't think that the comment is about the license clearance: yesterday I had an email exchange with Daniel Dekany (ddekany) and he is still waiting for the CLA. Well, that's odd. I just checked our records, and I signed a CLA on 2012-05-21,

<    1   2   3   4   5   6   7   8   9   10   >