Bug report: oracle.jbo.ViewCriteriaRow: string attribute value with '

Setting a ViewCriteriaRow attribute to a string value with an ' (apostrophe) causes an exception. Example:
ViewCriteriaRow vcr;
vcr.setAttributeValue ("Nachname", "D'Heur");
this should match with the Nachname column exactly with D'Heur, but the BC4J-SQL-Generator generates an SQL statement with "Nachname like 'D'Heur'" in the where clause. Using bind variables like "Nachname like :1" would help. Here the sample exception (BC4J in Jdev 9.0.3.4):
Error Message: JBO-27122: SQL-Fehler bei Vorbereitung der Anweisung. Anweisung: SELECT PsBenutzer.BER_ID, PsBenutzer.ATP_ATP_ID, PsBenutzer.QTP_QTP_ID, PsBenutzer.BDP_BDP_ID, PsBenutzer.LND_LND_ID, PsBenutzer.ANREDE, PsBenutzer.TRENDSHOPID, PsBenutzer.VORNAME, PsBenutzer.NACHNAME, PsBenutzer.BENUTZERKENNUNG, PsBenutzer.PASSWORT, NULL AS PASSWORTWIEDERHOLUNG, PsBenutzer.STATUS, PsBenutzer.INAKTIVBIS, PsBenutzer.GEBURTSDATUM, PsBenutzer.EMAIL, PsBenutzer.MOBIL, PsBenutzer.BEVORZUGTEADRESSE, PsBenutzer.INBRANCHESEIT, PsBenutzer.WUNSCHPRAEMIE, PsBenutzer.HOBBYS, PsBenutzer.SACHBEARBEITERKUERZEL, PsBenutzer.STRASSE, PsBenutzer.PLZ, PsBenutzer.ORT, PsBenutzer.TELEFON, PsBenutzer.FAX, PsBenutzer.UEBERTRAGVERFUEGBAREPUNKTE, PsBenutzer.ERVVERKAUFSEIT, PsAgenturzuordnungen.AZG_ID, PsAgenturzuordnungen.ARE_ARE_ID, PsAgenturzuordnungen.AGT_HAGTNR, PsAgenturzuordnungen.AGT_NAGTNR, PsAgenturzuordnungen.BER_BER_ID, PsAgenturzuordnungen.TELEFON AS TELEFON1, PsAgenturzuordnungen.ROLLENSTATUS, PsAgenturzuordnungen.EMAIL AS EMAIL1, pa_agenturen.ist_teilnehmer(PsAgenturzuordnungen.AGT_HAGTNR,PsAgenturzuordnungen.AGT_NAGTNR) AS IST_TEILNEHMER, PsBenutzer.BINSCHONTRENDJETTER, PsBenutzer.ERFASSUNGSDATUM, PsBenutzer.ERVEXKLUSIV, PsBenutzer.ERVEXKLUSIVBIS, PsBenutzer.MUSSLOGINAENDERN FROM PS_BENUTZER PsBenutzer, PS_AGENTURZUORDNUNGEN PsAgenturzuordnungen WHERE PsBenutzer.BER_ID = PsAgenturzuordnungen.BER_BER_ID AND ( ( (UPPER(PsBenutzer.NACHNAME) LIKE 'D'HEUR') ) )

Single quotes must be doubled in SQL statements to be legal. I've filed Bug# 3574900 for us to do a better job on fixing up this case in the future, but there's an easy workaround idea for now.
If you don't want the user to have to know/remember this, you could override the getViewCriteriaClause() method in your ViewObjectImpl class, and "fix up" the view criteria attributes to double-up occurrences of single apostrophe's before returning super.getViewCriteriaClause().
Here's a quick web log entry on it with some sample code:
http://radio.weblogs.com/0118231/2004/04/16.html#a276

Similar Messages

  • Strange Bug in oracle.jbo.domain.Number

    Hi
    There is a strange Bug in oracle.jbo.domain.Number. Look at the following code:
    System.out.println(new Number("12E4"));In JDeveloper 9.0.5.3 this code prints
    12000which is correct. In JDeveloper 10.1.3 this code throws an exception:
    java.lang.NumberFormatException: For input string: "E4"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.sql.NUMBER.toBytes(NUMBER.java:1861)
         at oracle.sql.NUMBER.stringToBytes(NUMBER.java:3398)
         at oracle.sql.NUMBER.<init>(NUMBER.java:277)
         at oracle.jbo.domain.Number.<init>(Number.java:289)
         at project1.Main.main(Main.java:10)I think this is a serious bug since some very basic behaviour is not working as expected anymore.

    It's a bug.
    The parseInt method is called and from its javadoc it's clear that it throws a NumberFormatException:
    Parses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value. The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments to the parseInt(java.lang.String, int) method.
    Maybe the earlier implementation of oracle.jbo.domain.Number didn't use the parseInt method.
    Ronald

  • Change a attribute value with XSLT before importing an XML

    I need change the attribute value with XSLT before importing an XML
    <table class="x" style="width="50pt">...
    I have to divide by 200 the value of "width", and the result multiplied by 100:
    (50/200) * 100
    It's possible with a XLST?

    Hi,
    Yes you can do this via XSLT.
    You can try similar to the one below:
    <table>
       <xsl:attribute name="width">
         <xsl:value-of select="((./width) div 200)*(100)" />
       </xsl:attribute>
    </table>
    I have not tested yet... Try it....
    Green4ever
    (I am back after long time)....

  • Clearning attribute values with amadmin

    How can I clear an attribute value with amadmin?
    In particular, I am trying to using ModifyServiceTemplate within OrganizationRequests to clear the bind dn for the ldap authentication module.
    I have tried "<Value></Value>", "<Value/>", and just leaving out the value element. The first two attempts cause the amadmin command to complain when it sends the request to the server. Leaving the value element out causes the document to not be valid according to the dtd so amadmin will not even process it.
    <Requests>
    <OrganizationRequests DN="o=mitre.org,o=isp">
    <ModifyServiceTemplate serviceName="iPlanetAMAuthLDAPService"
    schemaType="Dynamic">
    <AttributeValuePair>
    <Attribute name="iplanet-am-auth-ldap-bind-dn"/>
    <Value> </Value>
    </AttributeValuePair>
    </ModifyServiceTemplate>
    </OrganizationRequets>
    </Requests>

    I think you should use DeleteServiceTemplate:
    <OrganizationRequests DN="o=sun.com,o=isp">
    <DeleteServiceTemplate serviceName="iPlanetAMAuthLDAPService" schemaType="Dynamic"/>
    </OrganizationRequests>
    </Requests>
    If you want to keep the service template but you don't want a value for "iplanet-am-auth-ldap-bind-dn" maybe you can use <Value="">. I don't know for sure, but that would be just like if don't want to show the helptext for a channel.

  • Yet another 9.0.4.0. View BUG? oracle.jbo.InvalidOperException: JBO-26018

    Hi,
    Notive the bugs reported over the last couple of days - well they are being reported to metalink and tars are open for them.
    The problem is that this is the only forum to discuss them but no response to any have been received.
    Well here is another.
    I think they are all related.
    Create a EmpDeptView on SCOTT joining Emp and Dept.
    Create the standard Dept view.
    Execute the EmpDeptView.
    Insert a row into Dept.
    Commit.
    oracle.jbo.InvalidOperException: JBO-26018: Cannot insert a new row with no attribute set in entity Emp
         at oracle.jbo.server.OracleSQLBuilderImpl.buildInsertStatement(OracleSQLBuilderImpl.java:1996)
         at oracle.jbo.server.EntityImpl.buildDMLStatement(EntityImpl.java:6107)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:297)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:4592)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:3658)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2336)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2246)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1541)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1707)
         at mypackage9.Class1.doTest(Class1.java:29)
         at mypackage9.Class1.main(Class1.java:20)
    Exception in thread main
    Any comments??(From BC4J development will be great)

    Links to similar problems for those interested.
    [JDev 9.0.4.0] Weird exception when updating an attribute value: oracle.jbo
    [JDev 9.0.4.0] Weird exception when updating an attribute value: oracle.jbo
    904 - DMLException: JBO-26041 because of SQLException: ORA-01400
    904 - DMLException: JBO-26041 because of  SQLException: ORA-01400
    Insert on entity objects in BC4J
    Insert on entity objects in BC4J

  • Oracle XML DOM parser - attribute values are not printing on the screen ??

    Hi Everyone,
    I am just trying to use oracle DOM parser to paerse one of my xml file, java file can be compiled and run agianst a xml file, But I cannot see any attribute values printing on the screen..
    Appreciate if anyone can help, where I have gone wrong please?
    Below is the java file:
    // menna puthe DOMSample eka - duwanawa 19/12/2005
    import java.io.*;
    import java.net.*;
    import org.w3c.dom.*;
    import org.w3c.dom.Node;
    import oracle.xml.parser.v2.*;
    public class DOMSample {  //public class eka ***
    static public void main(String[] argv){  // main method eka ###
    try {
    if (argv.length != 1){
    // Must pass in the name of the XML file...
    System.err.println("Usage: java DOMSample filename");
    System.exit(1);
    // Get an instance of the parser
    DOMParser parser = new DOMParser();
    // Generate a URL from the filename.
    URL url = createURL(argv[0]);
    // Set various parser options: validation on,
    // warnings shown, error stream set to stderr.
    parser.setErrorStream(System.err);
    parser.showWarnings(true);
    // Parse the document.
    parser.parse(url);
    // Obtain the document.
    Document doc = parser.getDocument();
    // Print document elements
    System.out.print("The elements are: ");
    printElements(doc);
    // Print document element attributes
    System.out.println("The attributes of each element are: ");
    printElementAttributes(doc);
    catch (Exception e){
    System.out.println(e.toString());
    } // main method eka ###
    static void printElements(Document doc) {
    NodeList nl = doc.getElementsByTagName("*");
    Node n;
    for (int i=0; i<nl.getLength(); i++){
    n = nl.item(i);
    System.out.print(n.getNodeName() + " ");
    System.out.println();
    static void printElementAttributes(Document doc){
    NodeList nl = doc.getElementsByTagName("*");
    Element e;
    Node n;
    NamedNodeMap nnm;
    String attrname;
    String attrval;
    int i, len;
    len = nl.getLength();
    for (int j=0; j < len; j++){
    e = (Element)nl.item(j);
    System.out.println(e.getTagName() + ":");
    nnm = e.getAttributes();
    if (nnm != null){
    for (i=0; i<nnm.getLength(); i++){
    n = nnm.item(i);
    attrname = n.getNodeName();
    attrval = n.getNodeValue();
    System.out.print(" " + attrname + " = " + attrval);
    System.out.println();
    static URL createURL(String filename) {  // podi 3 Start
    URL url = null;
    try {
    url = new URL(filename);
    } catch (MalformedURLException ex) { /// BBBBBB
    try {
    File f = new File(filename);
    url = f.toURL();
    } catch (MalformedURLException e) {
    System.out.println("Cannot create URL for: " + filename);
    System.exit(0);
    } // BBBBBB
    return url;
    } // podi 3 End
    } //public class eka ***
    // End of program
    output comes as below:
    Isbn:
    Title:
    Price:
    Author:
    Message was edited by:
    chandanal

    Hi Chandanal,
    I edited your code slightly and I was able to get the correct output.
    I changed the following line:
    for (int j=0; j >< len; j++)to:
    for (int j=0; j < len; j++)I have included the complete source below:
    // menna puthe DOMSample eka - duwanawa 19/12/2005
    import java.io.*;
    import java.net.*;
    import org.w3c.dom.*;
    import org.w3c.dom.Node;
    import oracle.xml.parser.v2.*;
    public class DOMSample {
        //public class eka ***
        public static void main(String[] argv) {
            // main method eka ###
            try {
                if (argv.length != 1) {
                    // Must pass in the name of the XML file...
                    System.err.println("Usage: java DOMSample filename");
                    System.exit(1);
                // Get an instance of the parser
                DOMParser parser = new DOMParser();
                // Generate a URL from the filename.
                URL url = createURL(argv[0]);
                // Set various parser options: validation on,
                // warnings shown, error stream set to stderr.
                parser.setErrorStream(System.err);
                parser.showWarnings(true);
                // Parse the document.
                parser.parse(url);
                // Obtain the document.
                Document doc = parser.getDocument();
                // Print document elements
                System.out.print("The elements are: ");
                printElements(doc);
                // Print document element attributes
                System.out.println("The attributes of each element are: ");
                printElementAttributes(doc);
            } catch (Exception e) {
                System.out.println(e.toString());
        // main method eka ###
        static void printElements(Document doc) {
            NodeList nl = doc.getElementsByTagName("*");
            Node n;
            for (int i = 0; i < nl.getLength(); i++) {
                n = nl.item(i);
                System.out.print(n.getNodeName() + " ");
            System.out.println();
        static void printElementAttributes(Document doc) {
            NodeList nl = doc.getElementsByTagName("*");
            Element e;
            Node n;
            NamedNodeMap nnm;
            String attrname;
            String attrval;
            int i, len;
            len = nl.getLength();
            for (int j = 0; j < len; j++) {
                e = (Element)nl.item(j);
                System.out.println(e.getTagName() + ":");
                nnm = e.getAttributes();
                if (nnm != null) {
                    for (i = 0; i < nnm.getLength(); i++) {
                        n = nnm.item(i);
                        attrname = n.getNodeName();
                        attrval = n.getNodeValue();
                        System.out.print(" " + attrname + " = " + attrval);
                System.out.println();
        static URL createURL(String filename) {
            // podi 3 Start
            URL url = null;
            try {
                url = new URL(filename);
            } catch (MalformedURLException ex) {
                /// BBBBBB
                try {
                    File f = new File(filename);
                    url = f.toURL();
                } catch (MalformedURLException e) {
                    System.out.println("Cannot create URL for: " + filename);
                    System.exit(0);
            // BBBBBB
            return url;
        // podi 3 End
    } //public class eka ***-Blaise

  • Using Oracle Text to find attribute values in a XML document

    Can anybody help me? I created a index on a URIType column,
    create index my_index on uri_tab(docurl) indextype is ctxsys.context parameters ('SECTION GROUP my_sections').
    Before index creation I executed these two functions, which prepare Oracle on text search in attribute sections: ctx_ddl.create_section_group('my_sections','XML_SECTION_GROUP') and exec ctx_ddl.add_attr_section('my_sections','machinetype','MachineType@text')
    After index build I looking for an attribute value.
    SELECT e.docName FROM uri_tab e WHERE CONTAINS(e.docurl,'SM_52 WITHIN machinetype') > 0;

    An advise to read Oracle documentation is great but I have done it already and didn't find a way to check a syntax of an attribute retrived from LDAP server.
    I haven't find anything new in $ORACLE_HOME/RDBMS/admin/dbmsldap.sql as well.
    Let's take an example. I have taken some attribute from LDAP server by dbms_ldap.first_attribute and would like to know if the values of this attribute are strings or some binary staff.
    How can I do it?

  • Bug Report #3 (Designer moves your objects around with no permission)

    Post Author: Shannara
    CA Forum: Crystal Reports
    Product: Crystal Reports
    Version: 11.0.0.1282
    Patches Applied: (( There are no patches for Crystal Reports x11 ))
    Operating System(s): Windows XP SP 2
    Database(s): (( Not Applicable ))
    Error Messages: (( None ))Steps to Reproduce: 1. Add a box to a blank report.2. Go into the size & position dialog and change the size, note the values you put in.3. Reopen that dialog and look at the values. This bug is reproducible, just like my previous bug reports. Really annoying, making it virtually impossible to create reports with Crystal Reports. 

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • Bug report: Naming a Bin after creating it with drag'n'drop

    There seems to be a small bug when giving a newly created bin a name after creating it by drag'n'drop of several clips onto the "New Bin" icon. 
    To reproduce:
    Select some clips in your project browser
    Drag them onto the New Bin button
    A new bin is created with the clips in it
    - the bin name for it appears to be selected, and editable - just as if you had created a new empty bin by clicking the New Bin button
    - type in a new name - it accepts the name fine, now press enter.
    - your new name disappears, and *now* you are really in the mode to edit the bin name
    - type your name again, and it works.
    Work around:
    When creating new bins by using drag'n'drop of clips onto the New Bin button, first press enter once to enter into the proper edit mode before giving the bin a new name.
    (is there a better place to file bug reports?)
    Version 6.0.1 (014 (MC: 264587))
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro5,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          2.8 GHz
      Number Of Processors:          1
      Total Number Of Cores:          4
      L2 Cache (per core):          256 KB
      L3 Cache:          8 MB
      Memory:          8 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          MP51.007F.B03
      SMC Version (system):          1.39f11
      SMC Version (processor tray):          1.39f11
    OS X 10.6.8

    Er, just answered my question about bug reports by reading the "read this before posting" link above
    But I'll leave this here for the work-around in case anyone else needs it.

  • Bug report: entering serial number does not work with azerty keyboard

    I did not find a place to submit bug reports, so I'm posting here.
    During the instalation of Photoshop Elements 8 for Mac, I was not able to enter any numbers in the serial number fields.  Some other keys did work (like &é$...).  My keyboard is an azerty (Belgium).  Notice the numbers on an azerty keyboard have to be entered while holding the shift key.  I tried switching the keyboard to "French - Numerical" (wich enables numbers to be entered with shift lock on), and then some number keys worked, and others didn't.
    I solved this with a workaround, by temporary switching my keyboard to U.S. English.

    You can submit a bug report by clicking "Feature Request/Bug Report" in the upper-right corner:
    http://www.adobe.com/support/photoshopelements/
    Despite what it says, I've seen no hard evidence that Adobe ever pays attention to PSE bug reports.

  • Setting form attribute value with php

    i am having trouble setting the checked attribute value of a
    radio button based on the url parameter search. if search == all
    then checked == checked else checked == unchecked.
    <input type="radio" name="search" value="all"
    checked="<?php if ($_GET["search"] == "all") { echo"checked";}
    else { echo"unchecked";} ?>" />
    what am i doing wrong?

    This code should work
    <input type="radio" name="search" value="all" <?php if
    ($_GET["search"] == "all") { echo "checked";} ?> />

  • Bug report: Oracle schema parser/regex compiler failing valid xs:patterns

    Hello,
    The Oracle schema regex compiler does not allow valid patterns with more than a certain number of branches. An XSDException is thrown, namely 'invalid facet 'pattern' in element 'simpleType'.
    I have also tried using multiple <xs:pattern> elements, which also conforms to the official schema specification, but no luck there either.
    Here are my sample regexs which validate correctly against all branch examples in XML Spy 4.0:
    <!-- as single multi branchpattern-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow|[A-Za-z]{1,2}[0-9]{2,4}|rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    <!-- as multiple patterns-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon"/>
    <xs:pattern value="navy|olive|purple|red|silver|teal|white|yellow"/>
    <xs:pattern value="[A-Za-z]{1,2}[0-9]{2,4}"/>
    <xs:pattern value="rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    (Note that the Oracle regex compiler will allow any one of these patterns, it is only when the compiler concatenates them as per the spec that the exception is thrown.)
    Here are the W3 specifications for patterns/schema regex, which impose no limit on pattern branches whether they are part of one or multiple xs:pattern 'value' attributes:
    (http://www.w3.org/TR/xmlschema-2/#regexs)
    [Definition:] A regular expression is composed from zero or more ·branch·es, separated by | characters.
    [Definition:] A branch consists of zero or more ·piece·s, concatenated together.
    (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#rf-pattern)
    Schema Representation Constraint: Multiple patterns
    If multiple <pattern> element information items appear as [children] of a <simpleType>, the [value]s should be combined as if they appeared in a single ·regular expression· as separate ·branch·es.
    NOTE: It is a consequence of the schema representation constraint Multiple patterns (§4.3.4.3) and of the rules for ·restriction· that ·pattern· facets specified on the same step in a type derivation are ORed together, while ·pattern· facets specified on different steps of a type derivation are ANDed together.
    Thus, to impose two ·pattern· constraints simultaneously, schema authors may either write a single ·pattern· which expresses the intersection of the two ·pattern·s they wish to impose, or define each ·pattern· on a separate type derivation step.
    Many thanks
    Kevin Smith

    Hello,
    The Oracle schema regex compiler does not allow valid patterns with more than a certain number of branches. An XSDException is thrown, namely 'invalid facet 'pattern' in element 'simpleType'.
    I have also tried using multiple <xs:pattern> elements, which also conforms to the official schema specification, but no luck there either.
    Here are my sample regexs which validate correctly against all branch examples in XML Spy 4.0:
    <!-- as single multi branchpattern-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow|[A-Za-z]{1,2}[0-9]{2,4}|rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    <!-- as multiple patterns-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon"/>
    <xs:pattern value="navy|olive|purple|red|silver|teal|white|yellow"/>
    <xs:pattern value="[A-Za-z]{1,2}[0-9]{2,4}"/>
    <xs:pattern value="rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    (Note that the Oracle regex compiler will allow any one of these patterns, it is only when the compiler concatenates them as per the spec that the exception is thrown.)
    Here are the W3 specifications for patterns/schema regex, which impose no limit on pattern branches whether they are part of one or multiple xs:pattern 'value' attributes:
    (http://www.w3.org/TR/xmlschema-2/#regexs)
    [Definition:] A regular expression is composed from zero or more ·branch·es, separated by | characters.
    [Definition:] A branch consists of zero or more ·piece·s, concatenated together.
    (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#rf-pattern)
    Schema Representation Constraint: Multiple patterns
    If multiple <pattern> element information items appear as [children] of a <simpleType>, the [value]s should be combined as if they appeared in a single ·regular expression· as separate ·branch·es.
    NOTE: It is a consequence of the schema representation constraint Multiple patterns (§4.3.4.3) and of the rules for ·restriction· that ·pattern· facets specified on the same step in a type derivation are ORed together, while ·pattern· facets specified on different steps of a type derivation are ANDed together.
    Thus, to impose two ·pattern· constraints simultaneously, schema authors may either write a single ·pattern· which expresses the intersection of the two ·pattern·s they wish to impose, or define each ·pattern· on a separate type derivation step.
    Many thanks
    Kevin Smith

  • Vivado 2015.1 Bug Report: Adding Required Port without Default Value in Custom Interface Definition

    When adding a port using the Custom Interface Definition window and not defining a Default Value, the attached error message appears.  Not only are the html tags visible, but this error should not be thrown in the first place if both Master/Slave Presense is set to "required".  As it is, a port can only be added if a Default Value is given, but can be removed later from the ports table.

    yes,I have successfully install petalinux2015.2,but,the issue still be the same as before,the axi 16550 is not working,when I run echo 123 > /dev/ttyS1,my ttyPS0 stop working and axi com keeping null output...
    then,I try petalinux2014.4+petalinux2014.4,the difference is the ttyPS0 still alive but axi-com still null...
    I found that pl.dtsi file is quite different between the three mode:
    M1,petalinux2014.4+vivado2015.1
    M2,petalinux2015.2+vivado2015.1
    M3,petalinux2014.4+vivado2014.4
    most confuse for me is the interrupt ID,
    in vivado I connect the axi intterrupt to ID 62 but I get different auto generate dts file
    M1:nothing about interrupt and i add manuually in system-top.file
    M2:vivado ID is 61 but dts "interrupts = <0 30 4>"
    M3:vivado ID is 62 but dts "interrupts = <0 31 4>"
    does petalinux auto detect the vivado interrupt connection and ID and write to dts file right or User have to verify and rewrite in ststem-top.dts?
    working hard for the issue and hope for a axi demo including petalinux + vivado ,help please

  • Bug? Picture Ring proprty String and Values" returns error 1054 in LV 8.5

    Should that propert exist for a Picture Ring?
    Ben
    Message Edited by Ben on 09-01-2008 07:47 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.
    Attachments:
    Error_1054.PNG ‏27 KB

    The fact that the error is gone when you don't connect the indicator is good. Even better it is super.
    It means the compiler removes that specific node from the execution stack if it isn't needed.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Bug Report: Static LOV's and PDF Printing with Tabular Forms

    I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
    Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
    To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
    Anyway, I link my report with the layout created, and go to run it. I get this message.
    ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
         Error      ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    OK      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
    I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
    It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?

    Hi Patrick.
    I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
    [STATIC:Yes]
    [No        ]
    ----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
    It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
    However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
    Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
    Cheers,
    K.

Maybe you are looking for