Skip to content
Tcl Source Code History Of Ticket 27ff4ebe1c
Login

History Of Ticket 27ff4ebe1c

Artifacts Associated With Ticket 27ff4ebe1c

  1. Ticket change [2db5315133] (rid 160689) by usmankhalid on 2018-02-06 18:19:05:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Hello
      I used tcl8.4.14 and ActiveTcl versions 8.4.14 and 8.6.7.0 cd as well.
      Where ldapx 0.2.4 version and with ActiveTCL ldapx 1.0 version available. 
       
      I face the issue that ldapx parser is removing the spaces which we ldif format provides it. The following is the
      ldif input file
      prcoedure
      output
      desired output
      
      ####
      ## content of LDIF file
      
      dn: design data
      LOGICAL LIBRARIES: lib1
      PARAMETERS: 
      TOP ARCHITECTURE: structure
      TOP LIBRARY: lib
      TOP NAME: lib
      WORK LIBRARY: work
      
      dn: group #0
      FILES: aaaaaaa
       bbbbbbbbb
        ccccccccccc
         dddddddddddd
         
      ## Finish content of LDIF file
         
         
      ## start of tcl procedure
      
      package require ldapx 0.2.4      
      
      # create input channel
      ::ldapx::ldif create liin
      # link it to the input file
      liin channel [open "file_in.txt" r]
      
      ::ldapx::entry create input_file
      
      # each liin reads a "dn" from the input file
      # read the first one with the design data
      liin read input_file
      set output1 [input_file get {logical libraries}]
      puts stdout "this is the information contained in dn design data"
      puts stdout $output1
      
      #puts stdout "this is the information contained in the rest of dn"
      
      while {[liin read input_file] != 0} {
      set filelist [input_file get1 files]
      puts stdout [format {"%s"} $filelist]
      }
      
      return
      
      
      ## finish of tcl procedure
         
         
      # output of provided tcl file
      aaaaaaabbbbbbbbbcccccccccccdddddddddddd
      
      # expected output of provided tcl file
      aaaaaaabbbbbbbbb ccccccccccc  dddddddddddd
      
    5. foundin initialized to: "8.4.14 & 8.6.7"
    6. is_private initialized to: "0"
    7. login: "usmankhalid"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9483839b88c374516aab6c85bc13ba5f4f360aa6"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "usmankhalid"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      LDIF or LDAPx parser is not working properly: removes the desired ldif file format spaces
      
    16. type initialized to: "Bug"
  2. Ticket change [2f8db99702] (rid 160776) by dgp on 2018-02-06 22:51:42:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2458156.45257006"
    3. closer changed to: "dgp"
    4. icomment:
      
      Problems with the package "ldapx" seem to belong here:
      
      https://core.tcl.tk/tcllib/tktnew
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Rejected"
    8. status changed to: "Closed"