OpenNebula / addon-appmarket

AppMarket builds a centralized catalog of cloud applications
http://opennebula.org/addons:addons
Apache License 2.0
10 stars 13 forks source link

updating user through web interface fails: can't convert String into Integer #21

Closed hostingnuggets closed 10 years ago

hostingnuggets commented 10 years ago

trying to update any fields (Organization, Firstname, etc) of the admin user through the web interface does not work. as soon as i click on the "Update User" button I get displayed some HTML code, i have pasted here part of it which i think might help for debugging the issue:

  <div id="wrap">
    <div id="header">
      <img src="/__sinatra__/500.png" alt="application error" height="161" width="313" />
      <div id="summary">
        <h1><strong>TypeError</strong> at <strong>&#x2F;user&#x2F;530e1f546e9552200b000001
          </strong></h1>
        <h2>can&#x27;t convert String into Integer</h2>
        <ul>
          <li class="first"><strong>file:</strong> <code>
            user.rb</code></li>
          <li><strong>location:</strong> <code>[]
            </code></li>
          <li class="last"><strong>line:
            </strong> 148</li>
        </ul>
      </div>
      <div class="clear"></div>
    </div>

let me know if you need more details

dmamolina commented 10 years ago

it should be fixed in master, we will release a new version soon. Thank you for your feedback