<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:funihao@gmail.com" title="JJPalacios <funihao@gmail.com>"> <span class="fn">JJPalacios</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sheet's CodeName not saved"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=71271">bug 71271</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>funihao@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sheet's CodeName not saved"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=71271#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sheet's CodeName not saved"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=71271">bug 71271</a>
              from <span class="vcard"><a class="email" href="mailto:funihao@gmail.com" title="JJPalacios <funihao@gmail.com>"> <span class="fn">JJPalacios</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=88706" name="attach_88706" title="Example document of not-saved-CodeName value">attachment 88706</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=88706&action=edit" title="Example document of not-saved-CodeName value">[details]</a></span>
Example document of not-saved-CodeName value

Version: 7.0.1.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kf5
Locale: es-ES (es_ES.UTF-8); Interfaz: es-ES
=7.0.1-1
Calc: threaded

Please, this behavior has been like this for a long time. Time to fix it and it
won't take much developer time.

CodeName is updated on all sheets when the document is opened. In the first
one, it takes the default value for the new sheet, for the rest, it takes the
value of the sheet name. 
sheet.CodeName = sheet.Name

CodeName should be persistent.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>