Entitiy Unique Pk Validation doesn't work.

Hi everyone, I'm using JDev 10.1.2 (BC4J, Struts, UIX). I have the next issue:
I have an UIX page to create a new entity.
I added a unique pk validation to this entity and entered a custom message.
I want the page to display the custom message when the Pk constraint is violated.
Instead of that I get the next exception:
oracle.jbo.TxnValException: JBO-27023: Fallo al validar todas las filas en una transacción.
     at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3985)
     at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967)
     at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683)
     at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:170)
     at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:337)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:105)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.jbo.RowValException: JBO-27024: Fallo al validar una fila con la clave oracle.jbo.Key[null 180 ] del tipo ConstruccionApp.CasaViewCreator
     at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2065)
     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1347)
     at sorteotec.construccion.entity.CasaImpl.validateEntity(CasaImpl.java:1022)
     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1478)
     at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3965)
     at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967)
     at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683)
     at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:170)
     at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:337)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:105)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.jbo.AttrValException: JBO-27025: Fallo al validar el atributo Idciudad con el valor 7
     at oracle.jbo.AttrValException.<init>(AttrValException.java:62)
     at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:363)
     at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1769)
     at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1033)
     at sorteotec.construccion.entity.CasaImpl.setIdciudad(CasaImpl.java:877)
     at sorteotec.construccion.entity.CasaImpl.setAttrInvokeAccessor(CasaImpl.java:770)
     at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:949)
     at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1269)
     at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1174)
     at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1112)
     at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1087)
     at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:834)
     at oracle.adf.model.binding.DCDataControl.setAttributeInRow(DCDataControl.java:1745)
     at oracle.adf.model.bc4j.DCJboDataControl.setAttributeInRow(DCJboDataControl.java:1548)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeInRow(JUCtrlValueBinding.java:615)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeInRow(JUCtrlValueBinding.java:548)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:1078)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.updateTargetFromSelectedValue(JUCtrlListBinding.java:1155)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setAttributeFromValueList(JUCtrlListBinding.java:1116)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setSelectedIndex(JUCtrlListBinding.java:531)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setInputValue(JUCtrlListBinding.java:1480)
     at oracle.cabo.adf.rt.InitModelListener._setInputValue(InitModelListener.java:241)
     at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:156)
     at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:337)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:105)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.jbo.TooManyObjectsException: JBO-25013: Demasiados objetos coinciden con la clave primaria oracle.jbo.Key[180 7 ].
     at oracle.jbo.server.EntityDefImpl$2$JboUniqueKeyValidator.validateValue(EntityDefImpl.java:3133)
     at oracle.jbo.server.EntityDefImpl$2$JboUniqueKeyValidator.validate(EntityDefImpl.java:3070)
     at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:341)
     at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1769)
     at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1033)
     at sorteotec.construccion.entity.CasaImpl.setIdciudad(CasaImpl.java:877)
     at sorteotec.construccion.entity.CasaImpl.setAttrInvokeAccessor(CasaImpl.java:770)
     at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:949)
     at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1269)
     at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1174)
     at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1112)
     at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1087)
     at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:834)
     at oracle.adf.model.binding.DCDataControl.setAttributeInRow(DCDataControl.java:1745)
     at oracle.adf.model.bc4j.DCJboDataControl.setAttributeInRow(DCJboDataControl.java:1548)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeInRow(JUCtrlValueBinding.java:615)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeInRow(JUCtrlValueBinding.java:548)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:1078)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.updateTargetFromSelectedValue(JUCtrlListBinding.java:1155)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setAttributeFromValueList(JUCtrlListBinding.java:1116)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setSelectedIndex(JUCtrlListBinding.java:531)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setInputValue(JUCtrlListBinding.java:1480)
     at oracle.cabo.adf.rt.InitModelListener._setInputValue(InitModelListener.java:241)
     at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:156)
     at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:337)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:105)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
## Detail 1 ##
oracle.jbo.AttrValException: JBO-27014: Se necesita el atributo Idciudad en ConstruccionApp.CasaViewCreator
     at oracle.jbo.AttrValException.<init>(AttrValException.java:113)
     at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java:101)
     at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2051)
     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1347)
     at sorteotec.construccion.entity.CasaImpl.validateEntity(CasaImpl.java:1022)
     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1478)
     at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3965)
     at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967)
     at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683)
     at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:170)
     at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:337)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:105)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)In this stack trace I don't see the custom message, why? Just the TooManyObjectsException.
If someone could help me I'd really appreciate it, thank you.

I forgot this other notes about the entity and the issue:
* The Pk of this entity is composed by two attributes.
* When I test the application module to break the uniqueness of the entity I don't get the custom message either.
So, is it that the Pk Validation works only for one-attribute Pks?

Similar Messages

  • CFMX 7 CFFORM Validation doesn't work in 7.0.1

    We have code that's been running under CF5 and CF6.1 just
    fine, but when we moved it to CF7 all of the cfform validation
    stopped working (standard cfform w/ no additional custom
    javascript, just cfinput tags w/ required attributes). We updated
    the server to the newest version, and even applied the cumulative
    hotfix .jar file, but to no avail. Seems to be some consensus out
    there that there's a bug in version 7.0.1 where the path to the
    cfform.js file (/cfide/scripts/cfform.js) is not being translated
    properly so that the browser can find that .js include. I found a
    workaround, but I had to create a virtual directory "cfide" (that
    points to the actual cfide directory in the webroot) in IIS so that
    the mappings would work properly. This isn't terribly secure and is
    kind of a silly workaround to have to do when it worked perfectly
    under the other versions of CF and the /CFIDE mapping is in place
    in the CF Administrator. Anyone else having this issue, and beyond
    that, know if macromedia/adobe has (or is working on) a fix for
    this?
    Thanks in advance.

    That could be also, but in our case, we're not even using
    custom JavaScript. We're just using the internal cf form
    validation:
    Example:
    <cfform action="default.cfm" method="post">
    <cfinput name="firstname" type="text" required="yes"
    message="enter your name">
    <input type="submit" value="submit" name="submit">
    </cfform>
    And, unless we create an IIS virtual directory mapping to the
    CFIDE folder, even though it's in the CF Administrator mappings,
    the validation doesn't work, even though it did in previous CF
    versions.
    Thanks for the idea, though.

  • Process validation doesn't work

    Hi,
    when I try to change a process on my application (APEX 3.0.1.00.07), the process validation doesn't work, although the checkbox "Do not validate PL/SQL code (parse PL/SQL code at runtime only)" is not checked.
    The process will be validate only once on create, but not on change. I think, it's a bug

    Yes, that has been noted, thanks.
    Scott

  • Branch Validation Doesn't Work

    Hi Experts,
    I have a issue . My issue about branch valiadation.
    I have a taxonomy table and it has attributes. ( for ex : Bulk. )
    I created a validation and rigth click on this validation and select brach on opened contex.
    and write this validation in new branch validation.
    IF ( TYPE = "Bulk" , FALSE ) ( I selected those items on validation expression window )
    I selected Bulk Attribute on main table and tried this validation .
    Result is not true.
    Why doesn't work validation ?
    Regards
    Turgut

    Hi Turgut,
    I created a validation and right click on this validation and select branch on opened context.
    When you right click on this validation and Add Branch, Please select Property Branch Value as Category Name which is linked to this Attribute Name TYPE.
    Now you need to write Expression in this Branch Validation, as per your requirement.
    As you said, IF ( TYPE = "Bulk" , FALSE ), I am assuming here TYPE is your Attribute Name and BULK is your Attribute Text Value.
    For this make sure that, you have selected TYPE from Attributes tab and Bulk from TextValues tab from Expression.
    Regards,
    Mandeep Saini

  • URGENT - Error "Unable to open file because it isn't a valid Keynote document" - and there is no index file (so the usually suggested solution doesn't work)

    Hi there,
    As you see in the heading, I am getting the error "Unable to open file because it isn't a valid Keynote document". There has been a number of threads on this and there seems to be a usual work around that works in many cases, by changing the file extension to .zip and then looking for the index file and making some more extension changes...unfortunately, in my case (and it also happened to others), there is no index file, so the usually suggested solution doesn't work...Can someone please help? I am working on a tight deadline and would like to try and recover the file.
    Thanks a lot in advance.
    Best,
    Just a regular apple user
    PS: any other presentation opens fine in Keynote (09)

    Have you tried to create a new Keynote Presentation? Do you have another previously saved Keynote file you can try to open? These will make sure it is a problem with this specific presentation and not the whole program.
    Try to delete the Keynote Preferences. They are located in the folder Macintosh HD>Users>your username>Library>Preferences and titled com.apple.iWork.Keynote.plist.
    Your profile shows that you are still on Mc OS 10.6.6, is that true? You might try to update to 10.6.7 as I believe that there was a font issue fixed in this update (I don't know for sure since I am still on 10.5.8).
    Try those and report back and we will see what we can come up with.

  • Email send/receive suddenly doesn't work ; can't change email settings as BB phone won't accept valid username and password -- what to do?

    email send/receive suddenly doesn't work (as of September 24th); I can't change email settings (one suggestion from tech) as BB phone won't accept *valid* username and password -- what to do?
    I understand from a support note that if I keep trying my password/username combination, my BB will eventually delete all data!
    I can't understand this. I'm completely lost now. I can't remember what I've done or tried to do. A plethora of usernames and passwords is swimming in my head.
    Thanks for any hints. I have always loved this BB Bold and have never had any trouble with it.

    But the real question is why for the past year did the passwords work and then all of the sudden after this anomaly the disk password doesn't work?  I'm not 100% sure of what my configuration was, but I know that most of the time it required one password -- supervisor, and occasionally it asked for 2 -- disk password as well I believe.  This may have been related to the Password on Restart setting I think -- asking for the disk password on cold vs. warm boot.  But I know both were exactly the same.  But after this incident only the Supervisor password worked.

  • HT201407 I bought my iphone 4 in the UK and I am trying to use a sim in the UAE and it doesn't work.  It says that the sim is not valid, how can I get this unlocked?

    I bought my iphone 4 in the UK and I am trying to use a sim in the UAE and it doesn't work.  It says that the sim is not valid, how can I get this unlocked?

    You are saying the phone is locked, but then you are saying there is no provider. The two situations cannot peacefully coexist. Contact Apple and they can tell you if the phone is locked and if locked to which provider the phone is locked. People on this board are not Apple employees and cannot get you that information.

  • Validation Operand. , doesn't work

    Hi experts,
    I´m workimg in SAP BPC 5.1 MS and I'm trying to create a validation rule "Account1 > Account2". However it doesn´t works fine. No difference data be record in any case (value Acc.1 > value Acc. 2 & value Acc.1< value Acc.2), and I expect validation account has data when value Acc1 < value Acc2.
    When I use "=" validation operand, it works fine. Does anyone have the same problem?
    Thank you in advance
    Regards
    gabriel

    Validation rules do not work for <> in 5.1 although they work for =.
    We had to put some script logic for it to recognize the condition that we wanted to include. 
    It works fine if the application is fully optimized.
    However, we have been running into problems with analysis services.  The sql tables have the correct values.  However, small numbers remain (like 0.000000001, etc. instead of zero).  The system then interprets these numbers as non-zero and does not allow workstatus to run.  SAP is trying to find a fix but has not as yet done so.
    If you have a large implementation, be careful with tying workstatus to Validation.

  • TS1406 I read all of this, and did each step and mine still doesn't work. It still says "iTunesSetup.exe is not a valid Win32 application". What's next?

    I read all of this, and did each step and mine still doesn't work. It still says "iTunesSetup.exe is not a valid Win32 application". What's next?

    Perhaps try downloading and saving a copy of the installer to a different PC. (If you're on a 32-bit Windows system, try to download on a different 32-bit Windows system.) Copy the iTunesSetup.exe installer to an external hard-drive, or a large-enough thumb drive or burn it to a CD-R. Carry the installer back to your PC, copy the installer to your hard drive. (Don't run the install from the ExHD, thumb or CD-R.) Start the install by doubleclicking the iTunesSetup.exe file.

  • Spry Validation on submit in Firefox doesn't work

    Hello,
    I have some forms that use spry validation, everything works
    great and as expected in IE, but in Firefox the validation fails to
    work on submit of the form, but does work onblur of the text box's?
    so it partially works just not on form submit. So if someone came
    and just clicked the submit button the form wouldn't validate, but
    if someone did what they are suppose to and fill in name, email...
    the validation works as you tab to the next form element.
    I don't have the website online, to show... any idea's, why
    this may happen only in firefox?
    Thanks,

    Hi cchauvin08,
    If you can't post your page on the web for others to see,
    then perhaps you can paste the relevant markup/code. For example,
    what type of inputs are you using? You said "text box" do you mean
    a TextArea or a TextField? What does the widget constructor for
    that particular validation field look like? What does the markup
    look like, including the markup for the <form> tag?
    We're going to need more info due to the fact that some of
    these validation widgets have multiple configurations (types of
    validation).
    --== Kin ==--

  • Validating serial number doesn't work

    I have to validate my serial number within 7 days, but it won't work (new elements 12). It sais I have to be connected to the internet, but I am. Don't know what else to do. I have already tried another browser, still doesn't work :-((

    Hi,
    Please see if the following document helps - in particular, the section on the hosts file.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    If not, please tell us which operating system you are using.
    Brian

  • Paste to another instrument doesn't work...

    Paste to another instrument doesn't work. Paste function work only in the same instrument.
    Everytime when I try to "CMD+V" Logic crashes...

    Help us understand your problem.
    What exactly are you trying to copy and paste?
    If it's MIDI data from one istrument track in Arrange to another, this should work.
    If you're trying to copy settings (ie a particular sound) from one software instrument to another, that's obviously not possible as all AU's (Audio Instruments) have different parameters and are unique, so their settings will only work for each instrument.

  • Can't Add Credit Card (submit button doesn't work)

    Hey. Recently come across a problem trying to add my credit card so I could buy a Twitter app that works with Twitters new authorization.
    The submit button doesn't work. It is still there, but it is unclickable, it doesn't load up anything, or do anything. It doesn't change to being clickable at any time.
    If it helps, I have the Palm Pre, I'm with O2 (UK).
    Can anyone help?
    Post relates to: Pre p100ueu (O2)

    This sounds like a credit card related issue. Has anything about your credit card changed, like a new expiration data? You can go to App Catalog, tap the drop-down menu, select Preferences and Accounts, then choose the account name, enter your profile password, tap continue, When the Edit Credit Card screen appears, re-enter the credit card number and confirm that the remaining info is valid or enter any new information, then submit.

  • File.delete() and File.deleteOnExit() doesn't work consistently..

    I am seeing some odd behavior with trying to delete files that were opened. Usually just doing new File("file.txt").delete() would work. However, in this case, I have created an input stream to the file, read it in, saved it to another location (copied it), and now I am trying to delete it.
    The odd thing is, in my simple application, the user can work with one file at a time, but I move "processed" files to a lower pane in a swing app. When they exit it, it then archives all the files in that lower pane. Usually every file but the last one opened deletes. However, I have seen odd behavior where by some files don't delete, sometimes all of them wont delete. I tried the deleteOnExit() call which to me should be done by the JVM after it has released all objects such that they don't matter and the JVM ignores any object refs and directly makes a call (through JNI perhaps) to the underlying OS to delete the file. This doesn't work either.
    I am at a loss as to why sometimes some files delete, and other times they don't. In my processing code, I always close the input stream and set its variable to null. So I am not sure how it is possible a reference could still be held to the object representing the file on disk.

    and then, in the other class
      public int cdplayerINIToMMCD(File aDatabase, String thePassword) throws IllegalArgumentException {
         /*---------DATA---------*/
         String dbLogin, dbPassword;
         JFileChooser fc;
         INIFileFilter ff;
         int dialogReturnVal;
         String nameChosen;
         File INIFile;
         ProgressMonitor progressMonitor;
         BufferedReader inFileStream;
         String oneLine;
         int totalLines = 0;
         int linesParsed = 0;
         boolean openDBResult;
         int hasPassword;
         if ((aDatabase == null) || (!aDatabase.exists()) ||
            (FileManagement.verifyMMCD(aDatabase) == FileManagement.VERIFY_FAILED)) {
            throw new IllegalArgumentException();       
         else { 
            currentDB = aDatabase;
            if(thePassword == null) {
              dbPassword = "";
            else { dbPassword = thePassword; }
            dbLogin = dbPassword; //For MSAccess dbLogin == dbPassword
         //Ask the user for the cdplayer.ini file.
         //Create a file chooser
         if (System.getProperty("os.name").indexOf("Windows") > -1) {
            fc = new JFileChooser("C:\\Windows");
         else {
            fc = new JFileChooser();     
         fc.setMultiSelectionEnabled(false);
         fc.setDragEnabled(false);
         //Create a new FileFilter
         ff = new INIFileFilter();
         //Add this filter to our File chooser.
         fc.addChoosableFileFilter(ff);
         fc.setFileFilter(ff);
         //Ask the user to locate it.
         do {
            dialogReturnVal = fc.showOpenDialog(mainFrame);
            if (dialogReturnVal == JFileChooser.APPROVE_OPTION) {
               nameChosen = fc.getSelectedFile().getAbsolutePath();
               if(nameChosen.toLowerCase().endsWith(INIFileFilter.FILE_TYPE)) { INIFile=new File(nameChosen); }
               else { INIFile = new File(nameChosen+INIFileFilter.FILE_TYPE); }
               if (!INIFile.exists()) {
                  continue; //If the name specified does not exist, ask again.
               else { break; }
            else { //User clicked cancel in the open dialog.
               //Ignore what we've done so far.
               return(IMPORT_ABORTED);
         } while(true); //Keep asking until cancelled or a valid file is specified.
         //Determine how many lines will be parsed.
         try {
           //Open the INI for counting
           inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
           while ((inFileStream.readLine()) != null) {
               totalLines++;
           //Close the INI file.
           inFileStream.close();
         } catch (IOException ex) { return(IMPORT_FAILED); }
         //Make a progress monitor that will show progress while importing.
         progressMonitor = new ProgressMonitor(mainFrame, "Importing file","", 0, totalLines);
         progressMonitor.setProgress(0);
         progressMonitor.setMillisToPopup(100);
         progressMonitor.setMillisToDecideToPopup(1);
         //Make our DatabaseHandler to insert results to the database.
         dbh = new DatabaseHandler();
         //Open the database connection.
         do {
           try {
              openDBResult = dbh.openDBConnection(currentDB, dbLogin, dbPassword);
           } catch(JDBCException ex) { return(IMPORT_JDBC_ERROR); } //OUCH! can't write anything.
             catch(SQLException ex) {
                 openDBResult = DatabaseHandler.OPNCN_FAILED;
                 //Can not open the database. Is it password protected?
                 hasPassword = JOptionPane.showConfirmDialog(mainFrame, "Could not open the database. "+
                                                "The password is wrong or you have not specified it.\n"+
                           "Do you want to enter one now?", "New password?", JOptionPane.YES_NO_OPTION);
                if (hasPassword == MMCDCatalog.DLG_OPTN_YES) {
                   dbPassword = JOptionPane.showInputDialog(mainFrame, "Please enter your "+
                                                              "password for the DataBase:");
                    dbLogin = dbPassword; //For MSAccess, login == password                                                    
                //If the password wasn't the problem, then we can't help it.
                else { return(IMPORT_FAILED); }
         } while(openDBResult != DatabaseHandler.OPNCN_OK); //If it is OK, no exception thrown.
         //Import the ini file
         try {
            //Open the INI file for parsing.
            inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
            //Read and parse the INI file. Save entries once parsed.
            while ((oneLine = inFileStream.readLine()) != null) {
               parseLine(oneLine);
               linesParsed++;
               progressMonitor.setNote("Entries imported so far: "+entriesImported);
               progressMonitor.setProgress(linesParsed);
               if ((progressMonitor.isCanceled()) || (linesParsed == progressMonitor.getMaximum())) {
                  progressMonitor.close();
                  break;
            //Close the INI file.
            inFileStream.close();
         } catch (IOException ex) {
              //Make absolutely sure the progressMonitor has disappeared
                progressMonitor.close();
                if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.\n"+
                    "Error while attempting to close the database", "Error", JOptionPane.INFORMATION_MESSAGE);
              else {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.",
                                                    "Error", JOptionPane.INFORMATION_MESSAGE);     
                return(IMPORT_FAILED);
         //Make absolutely sure the progressMonitor has disappeared
         progressMonitor.close();
         //Close the database connection
         if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
            JOptionPane.showMessageDialog(mainFrame, "Error while closing the database after import.",
                                          "Error", JOptionPane.INFORMATION_MESSAGE);
         //Did the user cancel?
         if (totalLines != linesParsed) {
            return(IMPORT_ABORTED);     
         //Success!
         //Everything ok. Return the number of entries imported.
         return(entriesImported);
      }

  • Aperture 3.2: renaming based on date/time doesn't work properly

    While importing I rename my photos based on the date/time they were taken.
    In Aperture 3.1.3 this worked perfectly fine; for photos taken within the same second Aperture added an index number for the second, third etc. photo automatically.
    In Aperture 3.2 this doesn't work any longer; Aperture simply doesn't import photo number 2, 3 etc. of that particular one second.
    Note: I store the original files outside the aperture library, all run under snow leopard on an iMac i7. And as I said this worked fine under 3.1.
    Does anyone have an idea?

    Thanks all for the response
    Leonie, here are the details of what I do/experience:
    a) Aperture message after import
    b) I import pairs and rename them as follows “IMG_{Image Date}_{Image_Time}” (I know all the disadvantages of this but old habits are hard to break… and for me it still works fine)
    c) Difference of the images that are imported / not imported is solely the hundredth of the second when they were taken. Of my test series only the first image has been imported:
    DSC_4903.jpg(2011/10/19 22:49:50.08)
    DSC_4904.jpg(2011/10/19 22:49:50.25)
    DSC_4905.jpg(2011/10/19 22:49:50.43)
    DSC_4906.jpg(2011/10/19 22:49:50.60)
    DSC_4907.jpg(2011/10/19 22:49:50.80)
    d) I import via the import panel: Import in new project – storefiles in particular folder (not Aperture library) – subfolder ‘imageyear/month” – rename as described above – import both
    Doug, after some trial and error I agree with your thoughts, Aperture apparently simply lost its automatic indexes ‘-1’, ‘-2’ etc. and – what is good - doesn’t overwrite the first with the second and the third image... As you suggest there are different options to make the images unique. Most simple would be to add {index #} or {sequence #} or {counter}, all would do and I probably will choose one of them. Or I will downgrade back to 3.1.3 (do have backups) and wait until Apple fixes this.
    Kirby, turnoff “Don’t import duplicates” was a good idea but didn’t solve it. But your naming convention actually ensures the uniqueness of the files.
    Michael

Maybe you are looking for