ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (Jira)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-9330) Critical Fields Cannot Be Entered (Blocks WebPOS Use, Possibly Others)
Date Thu, 26 Sep 2019 14:34:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jacques Le Roux closed OFBIZ-9330.
    Resolution: Not A Problem

Thanks Priya, closing

> Critical Fields Cannot Be Entered (Blocks WebPOS Use, Possibly Others)
> ----------------------------------------------------------------------
>                 Key: OFBIZ-9330
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9330
>             Project: OFBiz
>          Issue Type: Bug
>          Components: webpos
>    Affects Versions: 16.11.01
>         Environment: Testing under Linux/Fedora/PostgreSQL, but issue is agnostic to
all of those.
>            Reporter: Dan Stimits
>            Priority: Major
> On a clean OfBiz install (e.g., in the case of using PostgreSQL I drop all tables and
run "./gradlew 'ofbiz --load-data readers=seed'", or even "./gradew 'ofbiz --load-data readers=seed,seed-initial'",
followed by adding admin) I am attempting to bring up a WebPOS for an actual store without
using the sample data (sample data should not be in any audit trail, it's a bad idea).
> The following will detail steps, but the short story is that WebPOS cannot be opened
until there is a POS terminal; a POS terminal cannot be added until there is a store (and
perhaps not even then); a store cannot be added until there is an inventory facility; various
facilities can be added, but none which qualify to fulfill "Inventory Facility Id". Perhaps
the loss of interface to create these things was unnoticed due to having sample data (try
to create the store and terminals manually which sample data would have).
> h3. The Long Steps (on a clean install with seed and seed-initial plus admin and no other
> ./gradlew ofbiz
> Under the setup app I create Company (requires admin password update first, Party Id
"Company" created by manually typing in info of a real company):
> https://localhost:8443/ofbizsetup/control/initialsetup
> Go to Catalog Manager->Stores, click New Product Store. *"Primary Store Group Id"*
can't be selected or entered ("Not Applicable [_NA_]" is all that is there), the drop-down
is empty other than "Not Applicable" (so I pick Not Applicable). Set Store Name to "Main Store".
It isn't a demo store, and I don't know what the effect is, but I pick drop-down of "Is Demo
Store" as "N". Everything else is unmodified and default. Click Update. Error rejects adding
the store: "Inventory Facility Id Required".
> Summary 1: Store cannot be added via Catalog Manager until an *Inventory Facility Id*
is created.
> I switch now to Applications->Facility Manager. "Main" or "Facilities" is only for
searching, not for adding a Facility. This is where the prior email reply mentions to do this
under Asset Management, but Asset Management->Facility is also only for searching, not
for creating a Facility. Perhaps it is a Fixed Asset?
> Summary 2: The required *Facility Id* of Summary 1 cannot be added under Applications->Facility
Manager. Asset Management->Facility is also a search mechanism, and cannot be used to add
the required facility.
> Under Fixed Asset I can click "New Fixed Asset". Is it "Real Estate", "Property", or
"Other"? Real Estate is chosen since it is most descriptive (Property might be a tract of
land, Real Estate is more specific since it implies a building on the land). When I get to
RoleType ID I am convinced this is not the correct place to create a facility.
> Summary 3: I can add a new fixed asset, but it does not seem to give me a *Facility Id*.
Perhaps I missed a detail.
> Under Applications->Facility Manager->Facility Groups I can click "New Group".
The only part I can logically add is Facility Group Name, and I add "Retail Facility" in that
text entry box. This fails. Although nothing is marked as mandatory, submitting this requires
a currently missing parameter, *"createFacilityGroup.facilityGroupTypeId"*. I don't really
know if the Facility type is Management Structure, or if it is Pricing Group, but it seems
Management Structure is more logical for a structure serving a store...I pick this. It works,
I now have a Management Structure with Facility Group Name "Retail Facility". I don't have
a *Facility Id*.
> Summary 4: I can add a Facility Group, but I'm unsure how to use this to create a Facility.
I don't  believe this is the right approach.
> There is no clear way to satisfy creation of the entire series of prerequisites...I'm
guessing that interfaces to do this were dropped at some point and it wasn't noticed. To illustrate
testing I suggest a clean install with just seed and seed-initial, followed by attempting
to add a retail store and WebPOS terminals similar to the demo data. I don't believe it can
be done without hand editing XML files or SQL tables. If not possible, then only businesses
without retail terminals can use the software.

This message was sent by Atlassian Jira

View raw message