w3scout / w3s_li_crm

LiCRM
11 stars 6 forks source link

Drop-down lists with deleted values ? #18

Closed lionel-m closed 12 years ago

lionel-m commented 12 years ago

There are blank lines in the drop-down lists from customers or projects that can be selected... Old deleted values ?

Image: Drop-down list


li_crm 0.4.0 alpha1 - 12 Contao 2.10.3

christian-kolb commented 12 years ago

This error does not occur in my version. Is it a test installation? Is it possible that you send me a database dump?

lionel-m commented 12 years ago

Is it a test installation?

Yes and how I can send you the dump ? I sent a message on your website (http://www.liplex-crm.de/en/contact.html) ?

lionel-m commented 12 years ago

There are many extensions in my installation. I will make a fresh install and see if the problem is still present.

christian-kolb commented 12 years ago

Ok. If the problem still exists just send an email to tester@liplex-crm.de. This is the official email address for all testing things regarding the Liplex CRM.

ghost commented 12 years ago

Can you check the HTML the page generates? Looks like a browser issue to me... Does it occur in other browsers / other installations, too?

lionel-m commented 12 years ago

I have make a new test with a new installation and the problem is always present. But I have found something. If I click on new project and I don't save, this new project is still saved. Then, we find this project in the drop-down list. Etc.

Can you check the HTML

<div class="w50">
  <h3><label for="ctrl_toProject">Project</label></h3>

  <select name="toProject" id="ctrl_toProject" class="tl_select" onfocus="Backend.getScrollOffset();">
    <option value="">-</option><option value="1"> </option>
    <option value="2"> </option><option value="3"> </option>
    <option value="4"> </option><option value="5"> </option>
    <option value="6"> </option><option value="7"> </option>
  </select>
  <p class="tl_help tl_tip">Please choose a project.</p>
</div>
christian-kolb commented 12 years ago

Ok, thats a common behavior for contao. Every time you want to create an entry, contao already creates one for you. Even if you cancel the creation, the id is already used. And of course this leads to an empty dropdown. But as you can see at the values, they are valid entries. They just don't have a name :) Should we implement a filter on projects with a not empty name?

ghost commented 12 years ago

Yeah, I'd go for that... I mean, what good is a project without a name?