Actually I don't think so, that would just hide the issue. I prefer to try a 
slightly better approach

Also this comes too often to let it like that. So I'll create a Jira to rewrite this totally in the std way we use in OFBiz in all (almost all?) other places: search and list.

Thanks

Jacques


Le 16/12/2017 à 21:11, Boyden, Timothy a écrit :
Maybe a short term solution would be to seed in a default facility, just like 
there is the default _NA_ facility group. That would be a quicker fix I would 
think, and suppress the issue until it can be fixed.

-Tim

-----Original Message-----
From: Jacques Le Roux [mailto:[email protected]]
Sent: Saturday, December 16, 2017 12:15 PM
To: [email protected]
Subject: Re: Create Facility bug?

Yes this has been discussed (many times), here is the last take at it 
http://markmail.org/message/tbn7mn753x27snn7

The right thing to do would be to revert or refactor r734037 but as I said in 
OFBIZ-5321 not an easy task and not a priority

BTW the right link to use is facility/control/EditFacility

I think for now I'll complete my comment for the case when there is no facility 
at all by giving a link to facility/control/EditFacility

Thanks

Jacques


Le 15/12/2017 à 19:22, Boyden, Timothy a écrit :
Wondering if anyone is aware of a UI bug with creating new facilities?

 From a clean install of OFBiz.

   * Go to Facility tab
   * The main page that comes up is a Facility search form
       o When there have been no facilities added yet, the Facility ID box is 
empty, and, of course, no Facilities are found.
       o The button on this form points to creating a new Facility Group, and 
not a new Facility
   * Go to Facility Groups sub-tab
   * Click on default _/NA/_ group
   * Click on Facilities sub-tab
       o This form is similar to what you see the first time clicking on the 
main Facility tab
       o Same issue exists here - instead of a button to create a new
Facility, the button instead prompts you to create a New Group

The work-around for this, after studying the URL paths, is to navigate
to: https://{OFBiz site URL}/facility/control/CreateFacility

That gets you to the correct create facility form, where you can
create your first facility. Once you created the first one, then you can get to 
a Create New Facility button, via the Facility Selection form on the Facilities 
sub-tab.

Here is a screenshot of the offending UI:

cid:[email protected]

This is what is should look like:

cid:[email protected]

Thanks,

Tim Boyden



Reply via email to