Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equipment Satus Screen is mixed up #29

Open
MikeDP opened this issue Feb 24, 2012 · 5 comments
Open

Equipment Satus Screen is mixed up #29

MikeDP opened this issue Feb 24, 2012 · 5 comments
Labels

Comments

@MikeDP
Copy link

MikeDP commented Feb 24, 2012

[0.3.5, Redmine 1.3.1.stable.8875]
Items in my equipment status list seem to get mixed up. As part of testing, I've got 6 items checked in at 4 different "locations" and the status screen looks like:

EQUIPMENT STATUS
Name            Type     Serial Number
Shipping (2)
Cleartest       ABC Ltd      180001

Production (2)
Cleartest       ABC Ltd      180002

Broken at Customer (3)
OMv1            ACME         170001

At Customer ()
Pump 2          Smiths       160001
Pump 2          Smiths       160002

Shipping (2)
XS Basic        Smiths       190001

My locations are really statuses, but this shouldn't be an issue, it's a text. I spent a little time flipping the items from one location to another before it got like this. Restarting Redmine doesn't fix it.
Obvious issues are:

  • Item counts after locations are wrong or absent
  • Individual item locations are correct
  • Shipping location items haven't been combined properly
@stillru
Copy link
Collaborator

stillru commented Feb 24, 2012

Same as my issue #23
I fix your patch an line 18 <th><=%t field_location %></th>, but it didn't help...

@MikeDP
Copy link
Author

MikeDP commented Feb 24, 2012

Hi stillru,
Sorry I'm very new to all this, I don't know any Ruby (yet).
Didn't notice your mixed up Equipment page in #23 - I see it now - I first saw mine mixed up later.
The line 18 missing : fixed a different Error 500 for me, I still have the one you found.

@stillru
Copy link
Collaborator

stillru commented Feb 27, 2012

Now error near line 53 - undefined method `name' for #AssetCheckIn:0x7f8cc8a02128

<% end %>
51:               <td class="pluginESV_<%= oos_class %>"><%=h e.serial_number %></td>
52:               <% if !attribute_is_grouped?(:location) %>
53:               <td class="pluginESV_<%= oos_class %>"><%=h e.location %> (<%=t :ch_by %> <%=h e.last_checkin_by %>)</td>
54:               <% end %>
55:               <td class="pluginESV_<%= oos_class %>">
56:                <%= link_to "", edit_equipment_asset_path(e), :class => "icon icon-edit", :title => "Edit #{e.name}" %>

@stillru
Copy link
Collaborator

stillru commented Feb 27, 2012

Now update to version 0.3.6. Bug still exist.

@sukima
Copy link
Owner

sukima commented May 23, 2012

I can not seem to reproduce this. Can I get clarification and verify it still exists in latest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants