How can we remove the emailid from default CC in Bugzilla..? - bugzilla

I am using the bugzilla for sending the bugs for development persons and then i given at configuration time default cc to one of the emailid but now i want to remove the default cc option for the particular user.Please give me intended path to resolve this issue Thank you one and all.

Default CC is defined for a component of a product. You can go to Administration -> components (linked from the paragraph of text under the Products heading) -> {name of product} to get a list of all components for the product, and the default CC for each. Edit each component that lists the user and remove them from the Default CC list.
Optionally, you can go Administration -> Users -> {user in question} to get a list of product responsibilities, that will show all the components they are a default CC for.

Related

react-select: label of selected option not changing

I have a trash in my app where you can filter through all the deleted entities and restore them. I use react-select for choosing specific entity type, eg. user, user_role, segment etc.
The react-select option looks like:
export type TrashFilterOption = {
label: string
value: "user" | "user_role" | "segment" | ...
}
and for better user experience I show count of trashed entities in each option label, eg. Segments (3), Users (0) etc.
The problem is that when I restore some entity and update counts, it doesn't change in selected option label as you can see on the screenshot below (count updated in options dropdown correctly but not in selected option).
My question is how can I force react-select to rerender it? I've tried to make a workaround using key assigned to <ReactSelect> component but it didn't work out.

How to use Django oscar catalogue options?

I have a product where it as multiple options for the user to select. say its a food item and it has different flavours and size packs.So i need to have an option in the UI for the users to select the option they want and that product need to be added to the basket with the user provided options.My question is how can i create these options in the backend and show that options in the UI.I saw a model named options in the admin dashboard.How can i make use of it.

symfony3 sonata-admin 3.10 - how to reuse the default list, show, and edit admin features in custom template or in other admin classes

I am currently working in a sales tracking project - where I am constantly getting into situation where I have to duplicate code about listing, showing or editing models.
I have 3 models, Lead, Customer, and Sales Activity. with 1:1 relations between Lead and Customer and 1:M relation between Lead and Sales Activity.
What I want is that when I SHOW a Lead, I should be able to reuse the show function of customer admin class, and I don't have to redo it in the show function of the Lead admin class.
Similarly, I want to be able add the LIST and CREATE function of the Sales Activity class into the Lead SHOW function without having to recode that which is already present. I could use render(controller()) in a custom template - but that includes the base template as well of the target controller, and it just messes the whole layout
I appreciate any input on the matter. thanks for your time.
Basic answer would be Admin class inheritance.
Another one would be to make a trait with your configureShowFields and use this trait in all of your admin classes.
If you are open to trying out a new bundle you can check : https://github.com/blast-project/CoreBundle
This bundle allows configuration of you admins in Yaml
And one of the features would suit your use case it would look like:
all:
Sonata\AdminBundle\Show\ShowMapper:
add:
name:
type: text
address:
type: textarea
...
It will let you configure your mappers for all your admins

Salesforce how to remove -none- from custom piclkist?

I have Custom Picklist on Lead object. lead object has got three record type and all record type having default values i.e -auswahl- specified in it works fine and shows defualt value. from field also i have made -auswahl- fild as default but the problem is that still it shows -None- in picklist i want to remove -none- from picklist.
picklist shows option like below.
-auswahl- (default)
-none-
secondvalue
thirdvalue
(Making picklist required from page layout doesn't solve problem.)
Setup -> Customize -> Leads -> Fields -> [your Custom Picklist name].
The very bottom section named 'Picklist Values'. Press 'edit' action in front of value which you want to make default. Check 'Defaul' checkbox. Save.
I could suggest one tweak if removing '--None--' is very necessary. Although I will not recommend.
Remove the field from Page Layout
Create one field in Lead object
Create a inline VF page for this particular field
Onload of inline VF page you can run a javascript for removing '--None--' node from select option list
Also you will have to couple the value inserted/edited by User in the vf page with the field created in step 2 using onchange event of picklist ie. again using javascript
Override save button in the standard pae and set the value of picklist using field created in step 2
I have not tried the solution but pretty sure this will work. Let me know if you need this workaround. I will post the code after trying at my end.

Drupal 7 Drupal Commerce Adding fields to Add To Cart page

I need some suggestion to add some fields to the "Add to cart" page.
Out of many products, one of the product requires some user information to be filled before proceeding to "Add to cart" process. I am selling a product of type "Exam". Before buying Product of type "Exam" (Before adding to cart), user has to input his person details like name, address, DOB and other mandatory details without which he is not able to proceed.
Could you please guide me, how to achieve this?
It sounds like you need the Customizable Products module.
Once you have that module installed, you can go to Administration > Store > Configuration > Line item types. Add a custom line type and add as many custom fields there as you'd like. You'll see - the interface for adding fields to the custom line type is the same as when you create a content type, so it's easy to use.
Then, when you've added all the customer info you need in your new line item, go ahead and modify your 'Exam' product to include those fields in the product display. Hit the 'Display' settings for the content type, and configure the settings for the 'Add to cart' field. Make sure you choose the correct line item for it to use and Save!
Does that work for you?

Resources