Page 1 of 1

Unable to Edit Inventory

Posted: Tue Apr 30, 2013 6:39 pm
by jlaker
I have the inventory module installed and it works great but for some reason I am unable to edit inventory levels through the admin interface. I get a "not editable" icon when I even hover over the fields.

Is there a way to enable editing of inventory levels through the admin interface?

Re: Unable to Edit Inventory

Posted: Tue May 07, 2013 10:37 am
by phillipuniverse
Which version of BLC and the inventory module?

Re: Unable to Edit Inventory

Posted: Thu May 09, 2013 2:40 pm
by jlaker
<blc.version>2.2.0-GA</blc.version>

<artifactId>broadleaf-inventory</artifactId>
<version>1.0.0-SNAPSHOT</version>

Re: Unable to Edit Inventory

Posted: Fri May 17, 2013 3:20 pm
by jlaker
a polite bump :)

Re: Unable to Edit Inventory

Posted: Mon May 20, 2013 12:59 pm
by ktisdell
The version of the inventory module was not complete from an Admin perspective. We have fixed this problem in version 1.1.0-M1. But this depends on Broadleaf version 2.3.0-M1-1. We will be updating and augmenting the inventory module to be GA and compatible with Broadleaf version 3.0.

Re: Unable to Edit Inventory

Posted: Mon May 20, 2013 10:56 pm
by phillipuniverse
Here's the gist of what happened: we made a fair amount of changes to the inventory module in the context of Broadleaf 2.3. This included changes to the inventory module itself as well as some changes to the Broadleaf framework.

Since the changes that were made in the framework were really just made to support these changes in the inventory module and were relatively benign, I went ahead and backported them to the Broadleaf 2.2 development line. Currently this represents Broadleaf version 2.2.1-SNAPSHOT.

For the inventory module, like the Broadleaf changes we only made them in the context of Broadleaf 2.3 (broadleaf-inventory version 1.1.0). Again, there wasn't a real reason that these couldn't go in the 1.0 line, so I went and cherry-picked them back into that branch.

So if you want to stay on the Broadleaf 2.2 line and use the inventory module then you will need to use Broadleaf version 2.2.1-SNAPSHOT at the minimum. Broadleaf version 2.3.0-SNAPSHOT is also an option since the inventory module was really tested on that version of Broadleaf.

I made the backported changes on the develop-1.0.x branch for the inventory module but bumped the version to 1.0.1-SNAPSHOT just in case others were targeting the 1.0.0-SNAPSHOT and would break otherwise.

So in summary, your options are:
  • Continue to use the Broadleaf 2.2 line - will require you to use Broadleaf 2.2.1-SNAPSHOT and broadleaf-inventory 1.0.1-SNAPSHOT
  • Upgrade to the Broadleaf 2.3 line - will require you to use Broadleaf 2.3.0-SNAPSHOT and broadleaf-inventory 1.1.0-SNAPSHOT

Let me know if you have any further questions. Thanks!

Re: Unable to Edit Inventory

Posted: Mon May 20, 2013 10:59 pm
by phillipuniverse
One other caveat here: I attempted to kick off a build to upload the broadleaf-inventory 1.0.1-SNAPSHOT artifact to our Maven nexus but it doesn't appear to be working for some reason. I'll investigate tomorrow.

In the meantime, you can always just check out the source yourself (https://github.com/BroadleafCommerce/Inventory, branch develop-1.0.x) and run a maven install on it to get the changes immediately.

Re: Unable to Edit Inventory

Posted: Tue May 21, 2013 11:11 am
by phillipuniverse
FYI, broadleaf-inventory version 1.0.1-SNAPSHOT is now out on our snapshot nexus.

Re: Unable to Edit Inventory

Posted: Tue May 21, 2013 3:33 pm
by jlaker
Awesome! Thanks for the update. I'll give it a try.