Hi
I am trying to load the special purpose components, but none of them get loaded. I have copied the special purpose components from other version. Any idea? Best regards. Derek Lew |
Make sure the components appear in the specialpurpose/component-load.xml
file. Adrian Crum Sandglass Software www.sandglass-software.com On 11/4/2015 6:58 AM, Derek Lew wrote: > Hi > > > > I am trying to load the special purpose components, but none of them get > loaded. > > > > I have copied the special purpose components from other version. > > > > Any idea? > > > > Best regards. > > Derek Lew > > > > |
Hi
Does ofbiz support unicode for user login ID. I have created users and I am getting the following Erreur at the login? user = arsène arsè[hidden email] user = athénaïs athénaï[hidden email] * was able to assign the email with an erreur message. The Following Errors Occurred: Error calling event:
org.ofbiz.webapp.event.EventHandlerException: Problems processing
event: java.lang.IllegalArgumentException: Control character in
cookie value or attribute. (Control character in cookie value or
attribute.) tested on http://demo-stable-ofbiz.apache.org/partymgr/control/backHome Regards, Fernando |
Hi Fernando, Feel free to create a JIRA issue regarding this. Best regards, On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote:
|
It should, as long as your database is unicode (i.e. postgresql). If
you're using mysql (my bet) it is not unicode by default. On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> wrote: > Hi Fernando, > > Feel free to create a JIRA issue regarding this. > > Best regards, > > Pierre Smits > > *OFBiz Extensions Marketplace* > http://oem.ofbizci.net/oci-2/ > > On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: > >> Hi >> >> Does ofbiz support unicode for user login ID. >> >> I have created users and I am getting the following Erreur at the login? >> >> user = arsène arsène@domain.com >> user = athénaïs athénaïs@domain.com >> >> >> * was able to assign the email with an erreur message. >> >> The Following Errors Occurred: >> >> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >> Problems processing event: java.lang.IllegalArgumentException: Control >> character in cookie value or attribute. (Control character in cookie value >> or attribute.) >> >> french >> >> >> >> tested on http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >> >> >> Regards, >> Fernando >> >> >> > |
In reply to this post by Adrian Crum-3
Hi Arian,
Yes, it does appears there. However, can't see them in the menu. Best regards, Derek Lew -----Original Message----- From: Adrian Crum [mailto:[hidden email]] Sent: Wednesday, 4 November 2015 11:16 PM To: [hidden email] Subject: Re: Ofbiz 13.07 Special Purpose Components Make sure the components appear in the specialpurpose/component-load.xml file. Adrian Crum Sandglass Software www.sandglass-software.com On 11/4/2015 6:58 AM, Derek Lew wrote: > Hi > > > > I am trying to load the special purpose components, but none of them > get loaded. > > > > I have copied the special purpose components from other version. > > > > Any idea? > > > > Best regards. > > Derek Lew > > > > |
Hi
The error is 2015-11-05 08:04:16,195 |main |UtilXml |E| XmlFileLoader: File file:/E:/OfBiz13.07/specialpurpose/component-load.xml process error. Line: 34. Error message: cvc-complex-type.2.3: Element 'component-loader' cannot have character [children], because the type's content type is element-only. Here is the content in component-load.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader .xsd"> <load-component component-location="ecommerce"/> <load-component component-location="hhfacility"/> <load-component component-location="assetmaint"/> <load-component component-location="cmssite"/> <load-component component-location="projectmgr"/> <load-component component-location="oagis"/> <load-component component-location="googlebase"/> <load-component component-location="ebay"/> <load-component component-location="myportal"/> <load-component component-location="webpos"/> <load-component component-location="scrum"/> </component-loader> -----Original Message----- From: Derek Lew [mailto:[hidden email]] Sent: Thursday, 5 November 2015 6:54 AM To: [hidden email] Subject: RE: Ofbiz 13.07 Special Purpose Components Hi Arian, Yes, it does appears there. However, can't see them in the menu. Best regards, Derek Lew -----Original Message----- From: Adrian Crum [mailto:[hidden email]] Sent: Wednesday, 4 November 2015 11:16 PM To: [hidden email] Subject: Re: Ofbiz 13.07 Special Purpose Components Make sure the components appear in the specialpurpose/component-load.xml file. Adrian Crum Sandglass Software www.sandglass-software.com On 11/4/2015 6:58 AM, Derek Lew wrote: > Hi > > > > I am trying to load the special purpose components, but none of them > get loaded. > > > > I have copied the special purpose components from other version. > > > > Any idea? > > > > Best regards. > > Derek Lew > > > > |
In reply to this post by Mike Z
Mike and Pierre
Yes we are using mysql and its set as latin1 (server and DB). W'll change it to utf-8 and will open a JIRA for reference. FYI http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf Regards, Fernando Le 2015-11-04 16:17, Mike a écrit : > It should, as long as your database is unicode (i.e. postgresql). If > you're using mysql (my bet) it is not unicode by default. > > On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> > wrote: > >> Hi Fernando, >> >> Feel free to create a JIRA issue regarding this. >> >> Best regards, >> >> Pierre Smits >> >> *OFBiz Extensions Marketplace* >> http://oem.ofbizci.net/oci-2/ >> >> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >> >>> Hi >>> >>> Does ofbiz support unicode for user login ID. >>> >>> I have created users and I am getting the following Erreur at the login? >>> >>> user = arsène arsène@domain.com >>> user = athénaïs athénaïs@domain.com >>> >>> >>> * was able to assign the email with an erreur message. >>> >>> The Following Errors Occurred: >>> >>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>> Problems processing event: java.lang.IllegalArgumentException: Control >>> character in cookie value or attribute. (Control character in cookie value >>> or attribute.) >>> >>> french >>> >>> >>> >>> tested on http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>> >>> >>> Regards, >>> Fernando >>> >>> >>> |
In reply to this post by Derek Lew-2
Ok, I got it working by swopping the items around.
-----Original Message----- From: Derek Lew [mailto:[hidden email]] Sent: Thursday, 5 November 2015 8:08 AM To: [hidden email] Subject: RE: Ofbiz 13.07 Special Purpose Components Hi The error is 2015-11-05 08:04:16,195 |main |UtilXml |E| XmlFileLoader: File file:/E:/OfBiz13.07/specialpurpose/component-load.xml process error. Line: 34. Error message: cvc-complex-type.2.3: Element 'component-loader' cannot have character [children], because the type's content type is element-only. Here is the content in component-load.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader .xsd"> <load-component component-location="ecommerce"/> <load-component component-location="hhfacility"/> <load-component component-location="assetmaint"/> <load-component component-location="cmssite"/> <load-component component-location="projectmgr"/> <load-component component-location="oagis"/> <load-component component-location="googlebase"/> <load-component component-location="ebay"/> <load-component component-location="myportal"/> <load-component component-location="webpos"/> <load-component component-location="scrum"/> </component-loader> -----Original Message----- From: Derek Lew [mailto:[hidden email]] Sent: Thursday, 5 November 2015 6:54 AM To: [hidden email] Subject: RE: Ofbiz 13.07 Special Purpose Components Hi Arian, Yes, it does appears there. However, can't see them in the menu. Best regards, Derek Lew -----Original Message----- From: Adrian Crum [mailto:[hidden email]] Sent: Wednesday, 4 November 2015 11:16 PM To: [hidden email] Subject: Re: Ofbiz 13.07 Special Purpose Components Make sure the components appear in the specialpurpose/component-load.xml file. Adrian Crum Sandglass Software www.sandglass-software.com On 11/4/2015 6:58 AM, Derek Lew wrote: > Hi > > > > I am trying to load the special purpose components, but none of them > get loaded. > > > > I have copied the special purpose components from other version. > > > > Any idea? > > > > Best regards. > > Derek Lew > > > > |
Administrator
|
In reply to this post by FGomez
Le 05/11/2015 01:27, FGomez a écrit :
> Mike and Pierre > > Yes we are using mysql and its set as latin1 (server and DB). > > W'll change it to utf-8 and will open a JIRA for reference. Better to to fill an entry in the wiki FAQ https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo Check this page before https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam Jacques > > FYI > http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf > > > Regards, > Fernando > > > > Le 2015-11-04 16:17, Mike a écrit : >> It should, as long as your database is unicode (i.e. postgresql). If >> you're using mysql (my bet) it is not unicode by default. >> >> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> >> wrote: >> >>> Hi Fernando, >>> >>> Feel free to create a JIRA issue regarding this. >>> >>> Best regards, >>> >>> Pierre Smits >>> >>> *OFBiz Extensions Marketplace* >>> http://oem.ofbizci.net/oci-2/ >>> >>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>> >>>> Hi >>>> >>>> Does ofbiz support unicode for user login ID. >>>> >>>> I have created users and I am getting the following Erreur at the login? >>>> >>>> user = arsène arsène@domain.com >>>> user = athénaïs athénaïs@domain.com >>>> >>>> >>>> * was able to assign the email with an erreur message. >>>> >>>> The Following Errors Occurred: >>>> >>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>> Problems processing event: java.lang.IllegalArgumentException: Control >>>> character in cookie value or attribute. (Control character in cookie value >>>> or attribute.) >>>> >>>> french >>>> >>>> >>>> >>>> tested on http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>> >>>> >>>> Regards, >>>> Fernando >>>> >>>> >>>> > > |
Back when I was using mysql I had to do this in entityengine.xml
jdbc-uri="jdbc:mysql:// 10.2.10.101/ofbiz?autoReconnect=true;characterEncoding=UTF-8" However, then reason I dumped mysql was the limiting of key length to 21. This is fine if you like integers but throughout the demo data there were numerous examples of using alpha keys for the primary key and this 21 character limit became real annoying. I then later switched to "localpostnew" type in entityengine.xml which has no limits of ANY field and that solved the issue, and solved UTF8 issues as well. On Wed, Nov 4, 2015 at 11:16 PM, Jacques Le Roux < [hidden email]> wrote: > Le 05/11/2015 01:27, FGomez a écrit : > >> Mike and Pierre >> >> Yes we are using mysql and its set as latin1 (server and DB). >> >> W'll change it to utf-8 and will open a JIRA for reference. >> > > Better to to fill an entry in the wiki FAQ > > https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo > > Check this page before > https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam > > Jacques > > > >> FYI >> >> http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf >> >> >> Regards, >> Fernando >> >> >> >> Le 2015-11-04 16:17, Mike a écrit : >> >>> It should, as long as your database is unicode (i.e. postgresql). If >>> you're using mysql (my bet) it is not unicode by default. >>> >>> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> >>> wrote: >>> >>> Hi Fernando, >>>> >>>> Feel free to create a JIRA issue regarding this. >>>> >>>> Best regards, >>>> >>>> Pierre Smits >>>> >>>> *OFBiz Extensions Marketplace* >>>> http://oem.ofbizci.net/oci-2/ >>>> >>>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>>> >>>> Hi >>>>> >>>>> Does ofbiz support unicode for user login ID. >>>>> >>>>> I have created users and I am getting the following Erreur at the >>>>> login? >>>>> >>>>> user = arsène arsène@domain.com >>>>> user = athénaïs athénaïs@domain.com >>>>> >>>>> >>>>> * was able to assign the email with an erreur message. >>>>> >>>>> The Following Errors Occurred: >>>>> >>>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>>> Problems processing event: java.lang.IllegalArgumentException: Control >>>>> character in cookie value or attribute. (Control character in cookie >>>>> value >>>>> or attribute.) >>>>> >>>>> french >>>>> >>>>> >>>>> >>>>> tested on >>>>> http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>>> >>>>> >>>>> Regards, >>>>> Fernando >>>>> >>>>> >>>>> >>>>> >> >> |
Mike, Thanks you for you feedback, very much appreciated We will look into it along with the "localpostnew". Regards, Fernando Le 2015-11-05 11:16, Mike a écrit : > Back when I was using mysql I had to do this in entityengine.xml > > jdbc-uri="jdbc:mysql:// > 10.2.10.101/ofbiz?autoReconnect=true;characterEncoding=UTF-8" > > However, then reason I dumped mysql was the limiting of key length to 21. > This is fine if you like integers but throughout the demo data there were > numerous examples of using alpha keys for the primary key and this 21 > character limit became real annoying. > > I then later switched to "localpostnew" type in entityengine.xml which has > no limits of ANY field and that solved the issue, and solved UTF8 issues as > well. > > > > On Wed, Nov 4, 2015 at 11:16 PM, Jacques Le Roux < > [hidden email]> wrote: > >> Le 05/11/2015 01:27, FGomez a écrit : >> >>> Mike and Pierre >>> >>> Yes we are using mysql and its set as latin1 (server and DB). >>> >>> W'll change it to utf-8 and will open a JIRA for reference. >>> >> Better to to fill an entry in the wiki FAQ >> >> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo >> >> Check this page before >> https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam >> >> Jacques >> >> >> >>> FYI >>> >>> http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf >>> >>> >>> Regards, >>> Fernando >>> >>> >>> >>> Le 2015-11-04 16:17, Mike a écrit : >>> >>>> It should, as long as your database is unicode (i.e. postgresql). If >>>> you're using mysql (my bet) it is not unicode by default. >>>> >>>> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> >>>> wrote: >>>> >>>> Hi Fernando, >>>>> Feel free to create a JIRA issue regarding this. >>>>> >>>>> Best regards, >>>>> >>>>> Pierre Smits >>>>> >>>>> *OFBiz Extensions Marketplace* >>>>> http://oem.ofbizci.net/oci-2/ >>>>> >>>>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>>>> >>>>> Hi >>>>>> Does ofbiz support unicode for user login ID. >>>>>> >>>>>> I have created users and I am getting the following Erreur at the >>>>>> login? >>>>>> >>>>>> user = arsène arsène@domain.com >>>>>> user = athénaïs athénaïs@domain.com >>>>>> >>>>>> >>>>>> * was able to assign the email with an erreur message. >>>>>> >>>>>> The Following Errors Occurred: >>>>>> >>>>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>>>> Problems processing event: java.lang.IllegalArgumentException: Control >>>>>> character in cookie value or attribute. (Control character in cookie >>>>>> value >>>>>> or attribute.) >>>>>> >>>>>> french >>>>>> >>>>>> >>>>>> >>>>>> tested on >>>>>> http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>>>> >>>>>> >>>>>> Regards, >>>>>> Fernando >>>>>> >>>>>> >>>>>> >>>>>> >>> |
Administrator
|
In trunk it has been replaced by the traditional localpostgres which is actually now the same but compatible with other DBMS OFBiz configs
Jacques Le 06/11/2015 19:03, FGomez a écrit : > > Mike, > > Thanks you for you feedback, very much appreciated > > We will look into it along with the "localpostnew". > > > > Regards, > Fernando > > > > Le 2015-11-05 11:16, Mike a écrit : >> Back when I was using mysql I had to do this in entityengine.xml >> >> jdbc-uri="jdbc:mysql:// >> 10.2.10.101/ofbiz?autoReconnect=true;characterEncoding=UTF-8" >> >> However, then reason I dumped mysql was the limiting of key length to 21. >> This is fine if you like integers but throughout the demo data there were >> numerous examples of using alpha keys for the primary key and this 21 >> character limit became real annoying. >> >> I then later switched to "localpostnew" type in entityengine.xml which has >> no limits of ANY field and that solved the issue, and solved UTF8 issues as >> well. >> >> >> >> On Wed, Nov 4, 2015 at 11:16 PM, Jacques Le Roux < >> [hidden email]> wrote: >> >>> Le 05/11/2015 01:27, FGomez a écrit : >>> >>>> Mike and Pierre >>>> >>>> Yes we are using mysql and its set as latin1 (server and DB). >>>> >>>> W'll change it to utf-8 and will open a JIRA for reference. >>>> >>> Better to to fill an entry in the wiki FAQ >>> >>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo >>> >>> Check this page before >>> https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam >>> >>> Jacques >>> >>> >>> >>>> FYI >>>> >>>> http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf >>>> >>>> >>>> Regards, >>>> Fernando >>>> >>>> >>>> >>>> Le 2015-11-04 16:17, Mike a écrit : >>>> >>>>> It should, as long as your database is unicode (i.e. postgresql). If >>>>> you're using mysql (my bet) it is not unicode by default. >>>>> >>>>> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email]> >>>>> wrote: >>>>> >>>>> Hi Fernando, >>>>>> Feel free to create a JIRA issue regarding this. >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Pierre Smits >>>>>> >>>>>> *OFBiz Extensions Marketplace* >>>>>> http://oem.ofbizci.net/oci-2/ >>>>>> >>>>>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>>>>> >>>>>> Hi >>>>>>> Does ofbiz support unicode for user login ID. >>>>>>> >>>>>>> I have created users and I am getting the following Erreur at the >>>>>>> login? >>>>>>> >>>>>>> user = arsène arsène@domain.com >>>>>>> user = athénaïs athénaïs@domain.com >>>>>>> >>>>>>> >>>>>>> * was able to assign the email with an erreur message. >>>>>>> >>>>>>> The Following Errors Occurred: >>>>>>> >>>>>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>>>>> Problems processing event: java.lang.IllegalArgumentException: Control >>>>>>> character in cookie value or attribute. (Control character in cookie >>>>>>> value >>>>>>> or attribute.) >>>>>>> >>>>>>> french >>>>>>> >>>>>>> >>>>>>> >>>>>>> tested on >>>>>>> http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> Fernando >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>> > > |
Jacques, are you saying the the default now is unlimited key length for
postgres, and other DBs as well? On Fri, Nov 6, 2015 at 10:27 AM, Jacques Le Roux < [hidden email]> wrote: > In trunk it has been replaced by the traditional localpostgres which is > actually now the same but compatible with other DBMS OFBiz configs > > Jacques > > > Le 06/11/2015 19:03, FGomez a écrit : > >> >> Mike, >> >> Thanks you for you feedback, very much appreciated >> >> We will look into it along with the "localpostnew". >> >> >> >> Regards, >> Fernando >> >> >> >> Le 2015-11-05 11:16, Mike a écrit : >> >>> Back when I was using mysql I had to do this in entityengine.xml >>> >>> jdbc-uri="jdbc:mysql:// >>> 10.2.10.101/ofbiz?autoReconnect=true;characterEncoding=UTF-8" >>> >>> However, then reason I dumped mysql was the limiting of key length to 21. >>> This is fine if you like integers but throughout the demo data there were >>> numerous examples of using alpha keys for the primary key and this 21 >>> character limit became real annoying. >>> >>> I then later switched to "localpostnew" type in entityengine.xml which >>> has >>> no limits of ANY field and that solved the issue, and solved UTF8 issues >>> as >>> well. >>> >>> >>> >>> On Wed, Nov 4, 2015 at 11:16 PM, Jacques Le Roux < >>> [hidden email]> wrote: >>> >>> Le 05/11/2015 01:27, FGomez a écrit : >>>> >>>> Mike and Pierre >>>>> >>>>> Yes we are using mysql and its set as latin1 (server and DB). >>>>> >>>>> W'll change it to utf-8 and will open a JIRA for reference. >>>>> >>>>> Better to to fill an entry in the wiki FAQ >>>> >>>> >>>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo >>>> >>>> Check this page before >>>> https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam >>>> >>>> Jacques >>>> >>>> >>>> >>>> FYI >>>>> >>>>> >>>>> http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf >>>>> >>>>> >>>>> Regards, >>>>> Fernando >>>>> >>>>> >>>>> >>>>> Le 2015-11-04 16:17, Mike a écrit : >>>>> >>>>> It should, as long as your database is unicode (i.e. postgresql). If >>>>>> you're using mysql (my bet) it is not unicode by default. >>>>>> >>>>>> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email] >>>>>> > >>>>>> wrote: >>>>>> >>>>>> Hi Fernando, >>>>>> >>>>>>> Feel free to create a JIRA issue regarding this. >>>>>>> >>>>>>> Best regards, >>>>>>> >>>>>>> Pierre Smits >>>>>>> >>>>>>> *OFBiz Extensions Marketplace* >>>>>>> http://oem.ofbizci.net/oci-2/ >>>>>>> >>>>>>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>>> Does ofbiz support unicode for user login ID. >>>>>>>> >>>>>>>> I have created users and I am getting the following Erreur at the >>>>>>>> login? >>>>>>>> >>>>>>>> user = arsène arsène@domain.com >>>>>>>> user = athénaïs athénaïs@domain.com >>>>>>>> >>>>>>>> >>>>>>>> * was able to assign the email with an erreur message. >>>>>>>> >>>>>>>> The Following Errors Occurred: >>>>>>>> >>>>>>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>>>>>> Problems processing event: java.lang.IllegalArgumentException: >>>>>>>> Control >>>>>>>> character in cookie value or attribute. (Control character in cookie >>>>>>>> value >>>>>>>> or attribute.) >>>>>>>> >>>>>>>> french >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> tested on >>>>>>>> http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>>>>>> >>>>>>>> >>>>>>>> Regards, >>>>>>>> Fernando >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>> >> >> |
Administrator
|
No, it's the contrary, see http://svn.apache.org/viewvc?view=revision&revision=1697590
Jacques Le 06/11/2015 19:30, Mike a écrit : > Jacques, are you saying the the default now is unlimited key length for > postgres, and other DBs as well? > > On Fri, Nov 6, 2015 at 10:27 AM, Jacques Le Roux < > [hidden email]> wrote: > >> In trunk it has been replaced by the traditional localpostgres which is >> actually now the same but compatible with other DBMS OFBiz configs >> >> Jacques >> >> >> Le 06/11/2015 19:03, FGomez a écrit : >> >>> Mike, >>> >>> Thanks you for you feedback, very much appreciated >>> >>> We will look into it along with the "localpostnew". >>> >>> >>> >>> Regards, >>> Fernando >>> >>> >>> >>> Le 2015-11-05 11:16, Mike a écrit : >>> >>>> Back when I was using mysql I had to do this in entityengine.xml >>>> >>>> jdbc-uri="jdbc:mysql:// >>>> 10.2.10.101/ofbiz?autoReconnect=true;characterEncoding=UTF-8" >>>> >>>> However, then reason I dumped mysql was the limiting of key length to 21. >>>> This is fine if you like integers but throughout the demo data there were >>>> numerous examples of using alpha keys for the primary key and this 21 >>>> character limit became real annoying. >>>> >>>> I then later switched to "localpostnew" type in entityengine.xml which >>>> has >>>> no limits of ANY field and that solved the issue, and solved UTF8 issues >>>> as >>>> well. >>>> >>>> >>>> >>>> On Wed, Nov 4, 2015 at 11:16 PM, Jacques Le Roux < >>>> [hidden email]> wrote: >>>> >>>> Le 05/11/2015 01:27, FGomez a écrit : >>>>> Mike and Pierre >>>>>> Yes we are using mysql and its set as latin1 (server and DB). >>>>>> >>>>>> W'll change it to utf-8 and will open a JIRA for reference. >>>>>> >>>>>> Better to to fill an entry in the wiki FAQ >>>>> >>>>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo >>>>> >>>>> Check this page before >>>>> https://cwiki.apache.org/confluence/display/OFBIZ/No+Spam >>>>> >>>>> Jacques >>>>> >>>>> >>>>> >>>>> FYI >>>>>> >>>>>> http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf-8-in-my-cnf >>>>>> >>>>>> >>>>>> Regards, >>>>>> Fernando >>>>>> >>>>>> >>>>>> >>>>>> Le 2015-11-04 16:17, Mike a écrit : >>>>>> >>>>>> It should, as long as your database is unicode (i.e. postgresql). If >>>>>>> you're using mysql (my bet) it is not unicode by default. >>>>>>> >>>>>>> On Wed, Nov 4, 2015 at 12:24 PM, Pierre Smits <[hidden email] >>>>>>> wrote: >>>>>>> >>>>>>> Hi Fernando, >>>>>>> >>>>>>>> Feel free to create a JIRA issue regarding this. >>>>>>>> >>>>>>>> Best regards, >>>>>>>> >>>>>>>> Pierre Smits >>>>>>>> >>>>>>>> *OFBiz Extensions Marketplace* >>>>>>>> http://oem.ofbizci.net/oci-2/ >>>>>>>> >>>>>>>> On Wed, Nov 4, 2015 at 6:26 PM, FGomez <[hidden email]> wrote: >>>>>>>> >>>>>>>> Hi >>>>>>>> >>>>>>>>> Does ofbiz support unicode for user login ID. >>>>>>>>> >>>>>>>>> I have created users and I am getting the following Erreur at the >>>>>>>>> login? >>>>>>>>> >>>>>>>>> user = arsène arsène@domain.com >>>>>>>>> user = athénaïs athénaïs@domain.com >>>>>>>>> >>>>>>>>> >>>>>>>>> * was able to assign the email with an erreur message. >>>>>>>>> >>>>>>>>> The Following Errors Occurred: >>>>>>>>> >>>>>>>>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: >>>>>>>>> Problems processing event: java.lang.IllegalArgumentException: >>>>>>>>> Control >>>>>>>>> character in cookie value or attribute. (Control character in cookie >>>>>>>>> value >>>>>>>>> or attribute.) >>>>>>>>> >>>>>>>>> french >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> tested on >>>>>>>>> http://demo-stable-ofbiz.apache.org/partymgr/control/backHome >>>>>>>>> >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Fernando >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>> |
In reply to this post by FGomez
HI all,
I am looking to change the rate of a resource assigned to a project. So timesheet are based per such HrRate vs the default rate in defined in GL global accounting. The user has permission with 'project mgr admin and accounting role' but don't have enough permission to change 'default rate' for a given ressource. Can any one provide the security needed to allow this change? Regards, Fernando |
Free forum by Nabble | Edit this page |