Support

Direct help for common BaseBuddy setup, access, mapping, editing, and deployment tasks.

Support/How to safely edit your first post

How to safely edit your first post

Test BaseBuddy editing with one harmless field before allowing regular production content changes.

Use this guide after you save a posts mapping and before editors start making regular production changes.

You will prove one small edit end to end: BaseBuddy opens the right record without writing to the database, Save writes only the field you changed, and workflow actions only happen when you click them.

If you have not mapped posts yet, start with How to map a posts table. If you want the deeper model behind this test, read Safe editing model.

Choose a safe record

Pick one record where a small temporary edit will not affect public pages, customer data, billing, legal content, redirects, or automated jobs.

Good choices:

ChoiceWhy it is safer
Draft postUsually not visible on the public site
Internal test pageEasy to recognize and restore
Old unpublished articleLower risk than a current homepage or campaign
Record with a harmless text fieldLets you test one direct write path

Avoid starting with published homepage content, status fields, relation changes, media replacement, redirects, or large JSON fields. Those are useful tests later. The first test should be boring and easy to undo.

BaseBuddy posts list showing mapped content items
BaseBuddy posts list showing mapped content items

Open the record without editing

  1. Open the project in BaseBuddy.
  2. Open the posts list.
  3. Select the harmless record.
  4. Review the title, status, dates, and editable fields.
  5. Do not change anything yet.

Opening a record is a read action. It should not update updated_at, workflow status, publish dates, helper rows, relation tables, or JSON values just because the editor loaded.

BaseBuddy editor with a mapped post open and post details in the sidebar
BaseBuddy editor with a mapped post open and post details in the sidebar

Save one dirty field

BaseBuddy Save writes dirty mapped fields only. A field becomes dirty when you change its value in the editor during the current editing session.

  1. Pick one harmless field, such as excerpt, summary, internal note, SEO description, or draft-only body text.
  2. Make a small obvious edit, such as adding BaseBuddy test to the end of the field.
  3. Do not change workflow status, authors, categories, tags, files, or media in the same test.
  4. Confirm the editor shows a pending change.
  5. Click Save.
Safe first edit with one title change and Save enabled
Safe first edit with one title change and Save enabled

If you open a record and leave without changing anything, BaseBuddy should not save a new value. If you change one mapped text field and click Save, only that field's mapped storage target should change.

BaseBuddy should not silently convert storage shapes during a normal save. Markdown stays markdown, HTML stays HTML, JSON paths stay scoped to the mapped path, and relation or array shapes should not be reshaped just because one text field changed.

Keep workflow actions separate

Save is for normal field edits. It should not publish, unpublish, or archive content as a hidden side effect.

Publish, Unpublish, and Archive are separate explicit actions. They may update mapped workflow fields such as status, published date, unpublished state, or archived state, but only when you intentionally use that action.

ActionWhat to expect
Open recordNo database write
Save with no editsNo database write
Save one edited text fieldOnly that mapped field changes
PublishMapped publish workflow fields change
UnpublishMapped unpublish workflow fields change
ArchiveMapped archive workflow fields change

Test workflow buttons later, one action at a time, after the first normal save passes. Use How to publish, unpublish, and archive content when you are ready to test those actions.

Verify in BaseBuddy

After saving the test edit:

  1. Stay on the record and confirm the edited value remains visible.
  2. Return to the posts list.
  3. Reopen the same record.
  4. Confirm the edited value still appears.
  5. Confirm the status did not change unless you clicked a workflow action.

This checks that the saved mapping can read back the same storage target it wrote.

Verify in the database

Open Supabase or your database client and inspect the same row before inviting editors.

Check:

CheckGood result
Primary rowSame record ID you edited in BaseBuddy
Edited fieldContains only the small test change
Unedited mapped fieldsValues are unchanged
Workflow fieldsUnchanged unless you clicked Publish, Unpublish, or Archive
Relation or helper rowsUnchanged unless the edited field is intentionally stored there
JSON or array valuesOnly the intended path or item changed

If your database has triggers that update updated_at or audit tables, account for those separately. BaseBuddy should still only send the dirty mapped field or the explicit workflow action it was asked to write.

Restore the test value

Once verification passes, either keep the harmless edit if it is acceptable or restore the original value with one more normal Save.

Verify the restore the same way: BaseBuddy should show the restored value, and the database should show only the expected field change plus any normal trigger-owned audit values.

If more changed than expected

Stop before inviting editors or making broader changes.

  1. Do not run another save on the same record until you understand the cause.
  2. Restore the row from your database backup, audit log, or the original value you recorded before testing.
  3. Review the saved mapping for the edited field.
  4. Confirm the field points at the intended table, column, JSON path, relation, or helper row.
  5. Check whether a broad JSON object, array, relation, or helper-row mapping should be read-only instead.
  6. Confirm you did not click Publish, Unpublish, or Archive during the save test.
  7. Re-test with one harmless field after adjusting mapping.

Common causes:

SymptomLikely cause
Wrong column changedField mapped to the wrong source
Whole JSON object changedMapping patches too broad a JSON target
Sibling helper-row values changedHelper-row mapping is too broad or unsafe
Status changed during SaveWorkflow field was edited directly or mapped incorrectly
Relation rows changedRelation mapping is being written during a basic field test
Public page changedThe test record was not harmless enough

When in doubt, make the risky field read-only and use manual mapping to point BaseBuddy at a safer write path. See How mapping works on BaseBuddy for how saved mapping controls the editor, and How to fix a field showing as read-only when a field needs a safer write path.